Custom contraction for beamsplitter and two-mode squeezing

The beamsplitter  and two-mode squeezing operation have special symmetries, namely SU(2) and SU(1,1). This implies that their matrix elements B_{nm}^{kl}, T_{ij}^{kl} satisfy the selection rules

This implies that one can contract pure states (without loss of generality we assume only two modes) using one less loop as follows

and

where c_{ij} is the tensor representing the two mode state and n is the cutoff in Fock space.
Similarly for a mixed state one should be able to do the update of the state using two less summations.
These observations should result in significant savings when acting beamsplitters and two-mode squeezing in the Fock backend.

Note that the Rgate and the Kgate can also be contracted in a more clever way.


TextEditingController should explain its expected lifetime

I've seen multiple individuals be confused by TextEditingController and end up re-creating one every time build() is called.  The API docs could explain its expected lifetime (e.g. be held off a State, living as long as the TextInput).

Eric, if I may, I would suggest you update the documentation to explain that the Controller should actually 'outlive' the TextInput/TextField, instead of 'living as long as the TextInput'.
E.g. the controller instance could live in the State associated with a Page that builds the Form/TextFields.
The reason being that more often than not, a form's elements will be children of some sort of Scrollable, and will likely get scrolled off screen as the user interacts with the form.
Coming from Android, it never occurred to me that a widget (along with its state) would be disposed of just because it was (temporarily) scrolled off screen. I consider this a very important (&unintuitive) piece of info I had to learn from the source code the hard way.
I would recommend pointing this out in multiple places in the docs. There are several bugreports and SO entries related to this already. Your own Gallery Demo ('Text Fields') has this 'error' as well: try filling out the Name field, then select another field, scroll down, then scroll back up to see the previously entered value in Name gone.
Being a Flutter noob, it is also possible I have misunderstood something, in which case apologies for the comment...

Much appreciated, thank you for your feedback @cohortor

Very helpful advise

E.g. the controller instance could live in the State associated with a Page that builds the Form/TextFields.

@cohortor just to be clear, the best way to use a TextFieldController is to initialize it in initState()?

Hi @eseidelGoogle is this issue still meant to be open?

@cohortor只是要清楚一点，使用a的最佳方法TextFieldController是在中初始化它initState()？

谢谢，解决了我的一个问题【A TextEditingController was used after being disposed.】


Deploy account util

This PR creates a pattern for abstracting Account contract deployments by utilizing the global keyword to initialize the StarkNet state.
State class

wrapper for Starknet.empty()
sets global starknet
includes the method init() to initialize

Account class

wrapper for Account contract deployment
invoking await State.init() gives Account (and other contract deployments) access to the initialized starknet state
includes

the method deploy for deployments
the variable get_class to return the Account contract class

Resolves #333.

Hmm tests took 52 min here 🤔

Great addition and simplification!

Thank you so much!

Is State only meant to be used next to accounts? Otherwise we're missing a few starknet.empty() in the tests for EthAccount, ERC165, Initializable, Reentrancy, and SafeMath.

Ah good catch. The State object can be used everywhere not just with accounts. I'll update the mentioned tests for consistency

This is ready, would you mind updating the docs to the new system?

On it!


CMake Modernization

Hi Everyone,
I'm very interested in this project.  I've primarily been a user of Colmap, but have been searching for a way to speed up the global bundle adjustment.  I only came across the paper by accident.  The results look very promising!  I'd like to contribute where I can.
Would you mind if I spent a few minutes modernizing the CMake?

Hi KBentley57,
Thanks for your comments! We indeed are planning to integrate MegBA into Colmap and we are very glad to invite you to participate in MegBA. What kind of collaboration platform (e.g. Google Group) would you like? We may have some discussion later for better collaboration on the Colmap integration feature.
As you mentioned the demand for "modernizing the CMake", I may not get your point. Would you please describe it in more detail?
Best regards,
Jie

Hi Kyle,
So glad to hear that so many people would like to join the project,  we think we could make the project robust and powerful together. I agree with your suggestion to make the compilation robust. Today I just reformat the entire code in Google-style using clang-format. So it may seem that a lot of files has been changed, but don't worry.
In addition, I have sent you an email using my personal address<EMAIL_ADDRESS>Hope we can make the world different :)
Best regards,
Jie

@KBentley57  @JieRen98   Hi, Have you integrated MegBA into colmap? What is the progress? Are you considering open source?

Thanks for your comment!
Currently, I am fully focusing on designing sparse solvers to beat CHOLMOD. So the colmap integration plan is still on my todo list :-(
Sorry for the very slow progress.


Package with no matching  package name with entry point -

The setup of the repo HXL-Data-Science-file-formats has a collection of console_scripts, but none of them matches (not even a parts of the names) with the name of the package.
Therefore, code_inspector, classifies it as library following our heuristic.

I think that's ok. This is a problem of the package not following best practices.


Can't find Interrupt Vector USCI_A0_VECTOR with MSP430-GCC

I'm trying to compile this code with MSP430-GCC, although it can't find the interrupt vector USCI_A0_VECTOR. I also can't get code to compile with interrupt vectors like you've supplied I have to use this syntax:
void USCI_RX(void) __attribute__((interrupt(USCIAB0RX_VECTOR)));

If that makes a difference at all. What suggestions do you have to work around this? I am trying to compile the transmit and receive examples for the MSP430G2553.

@deanchester how did you fix this?


Dynamic glidepaths: Choose current risk appetite and make dynamic code that proposed XXX different strategies of reducing risk during your investment horizon. Add randomness???

I guess this is also done right now when we have implemented 3 different glide-path strategies. Therefore moving to done for now :))


New batch read endpoint

This is a first pass at https://trello.com/c/DYFgXNYr/621-automate-link-checker-tool
Paired with @Davidslv and @benhyland
This new endpoint allows us to page through content ids and retrieve all the content items
and links associated with that content id.
a response item looks like this:
{
                  "content_id" => content_id,
                  "content_items" => [
                    {
                      "locale" => "en",
                      "base_path" => "/such-base-path",
                      "publishing_app" => "whitehall",
                      "format" => "guide",
                      "user_facing_version" => "2",
                      "state" => "draft",
                    },
                    {
                      "locale" => "en",
                      "base_path" => "/such-base-path",
                      "publishing_app" => "whitehall",
                      "format" => "guide",
                      "user_facing_version" => "1",
                      "state" => "published",
                    },
                  ],
                  "links" => {
                    "topics" => [topic_content_id],
                  }
}

Motivation
We are planning to use this in tooling that will check consistency between
rummager and publishing api:
https://github.com/alphagov/finding-things-migration-checker
Content is currently indexed to rummager from multiple sources, and we don't
have a reliable way of rebuilding the index from scratch at the moment. In the
future, content will only be indexed from publishing api.  We want to ensure
that data is kept in sync until then.
We are also in the middle of a data migration from the old tagging
infrastructure (panopticon/content API) to the new one (publishing api/content
store).  Rummager is currently the most complete source of tagging data for
historical content, so comparing publishing API to that gives us a view on any
remaining discrepencies.
Data returned
For now, we don't apply any filtering (e.g. by publication state). We also
don't want to expand the links hash to include things like base paths, since
this requires more information to uniquely identify the target content item
(such as locale) and we don't actually need this for our usage.
The fields returned for content items are based on the things that influence
content item uniqueness (see doc/object-model-explanation.md), plus
publishing-app and format. We could add more details, but we don't need this
now either.
The data is retrieved using 3 queries. A content ID has many content items and
many links. We query these separately because otherwise we would get a
cartesian product of rows (# of links x # of content items for each content
id).
The pagination works differently to other requests because content id does not
have an inherent ordering. This means that if we define a page by a limit and
and an offset, somebody could publish new content that appears in the middle of
our page between successive queries.
To ensure that the queries links and content items match up to the same set of
content ids, we query all the content ids on the page first, and then pass
those to the other queries.
Suggestions for code review
We'd like at least one person from the publishing platform team to check the approach we've taken.
The main commit adds a controller, a query, and a presenter.
The query itself runs all three queries and returns the results grouped together into an array of hashes.
We chose to mixin ActiveModel validations here as we had some fairly standard input validation to do and this seemed like a simple way of managing it. If there is a better way to do this please let us know. We're aware that the format of render json: { errors: query.errors.full_messages }, status: 422 isn't quite correct for the publishing api but we wanted some feedback before we fix this.
We're using raw SQL because we thought the queries might get complicated, but it seems like we could do the same queries using activerecord too. Do you have a preference one way or the other?
The presenter takes the array returned by the query and returns something that can be returned as JSON to the client. We didn't use ResultPresenter because we are doing pagination a little differently. Passing in the last seen content id for pagination guarantees that if the requester pages through everything, they will never see the same item twice.
Tests
While testing this I noticed a small issue that breaks CI sometimes:
https://ci.dev.publishing.service.gov.uk/view/Publishing/job/govuk_publishing-api/303/console
The 2nd commit makes the expectation less strict. I can split this off into a separate PR if you want.

cc @alphagov/team-finding-things

I am curious about the pagination here, it seems to add a lot of incidental complexity to the implementation.
I had a look at one of the content_items that has about 76 versions, and ran this query against it:
select content_items.id, content_items.format, content_items.content_id, translations.locale, locations.base_path, states.name, lock_versions.number from content_items
join locations on locations.content_item_id = content_items.id
join states on states.content_item_id = content_items.id
join lock_versions on lock_versions.target_id = content_items.id
join translations on translations.content_item_id = content_items.id
where content_items.content_id = '08d48cdd-6b50-43ff-a53b-beab47f4aab0'
group by content_items.id, translations.locale, locations.base_path, states.name, lock_versions.number
order by number DESC

and that takes about 0.2ms, so might be able to get away without pagination.
Also this kinda feels like it is more like Versions rather then GroupedContentAndLinks so might need some thinking about how other people could use it too (specifically around the fields that would be displayed)
What do you think?

@dougdroper
Hi Doug, I just want to explain a bit more about the motivation for the pagination here, since we might be understanding different things by the term.
The new endpoint is intended to be used for bulk reading, in batches of (say) 1000 content_ids per request.
We organise the response data under a hierarchy keyed by content_id because the endpoint is intended to deliver data which only makes sense per-content_id, such as links, in addition to the per-content_item_id data.
We therefore wish to paginate in pages of content_ids. In order to keep our pages stable in the face of edits that happen during an iteration across all pages, we must pass in the last_seen_content_id, rather than a numeric offset, since content_ids are not generated in sequence.
The result is that in a single iteration we can be sure of

not missing a content_id that already existed when we started the first page
not seeing any content_id twice
seeing complete and consistent data for each content_id returned

If we iterate by some other key, such as content_item_id, or by pages using an offset rather than last_seen_content_id, these guarantees cannot be made.
Hope that makes sense - we can come and chat in person if you like?

@dougdroper regarding the naming and more general use cases, we tried to ensure that the endpoint could be useful to others as well, but we wanted to gather feedback before adding more fields or filtering.
Any suggestions (especially of specific use cases) are very welcome. Thanks!

Ah right I see, so the response would something like:
{
  'total': 500000,
  'page': 1,
  ...
  'results': {
   [
     { 'content_id': '123', 'content_items': [{"base_path" => "/foo"}], 'links': {} },
     { 'content_id': '456', 'content_items': [{"base_path" => "/bar"}], 'links': {} }
   ]
  }
}

@dougdroper Yep, that's right, except rather than page we return last_seen_content_id, for the reasons @benhyland  mentioned above.
We don't return total at the moment, but we can add that it in if it's going to be useful. We seem to be missing a couple of specs for the pagination response fields, so we'll need to take a look at that.

What is the rational around returning all versions of the content_items?

@dougdroper Only that we haven't yet decided if or how we wish to filter them.
As an aside, at the moment we think it will be more flexible and maintainable for the future if we retrieve all versions from the db and filter in the application layer. The tradeoff is that the potentially unbounded versions in the result set might cause perf/memory issues. We don't expect this and we haven't looked into other potential mitigations such as streaming the response.

@dougdroper @tijmenb I've addressed your comments in a new commit.
If there are no other issues that need addressing now I'll rebase everything on top of the latest master (some integration tests are failing at the moment, but it seems unrelated to this work)
To elaborate on what we've discussed offline:

We plan to run our checker tool only on integration for the time being
@elliotcm is currently working on derived tables to improve read performance
We don't actually need all versions of the content, although the state of the latest version is not enough for us to filter on. We think we should be able to rewrite the query to use Elliot's new tables when they're ready.
We'd prefer to get this PR merged in the meantime, so we can start deploying the tool to integration.

I've raised this ticket in our backlog specifically to address the remaining work https://trello.com/c/3qIYFDBI/634-finish-publishing-api-endpoint-for-link-checker-tool
We haven't come up with a good name for the endpoint yet - I think we should rename it when we remove the multiple versions.

Based on conversations offline (mentioned above) it doesn't like we're going to resolve everything in this PR.
I'm OK with us merging this based on the agreement that this ticket will be used to take a fresh look at the needs for this endpoint and the ways we can provide a robust endpoint via some careful denormalisation.  A member of the publishing platform team will be available to help with the discussion/planning of that, with the finding things team taking on the bulk of the actual typing.

Get this green and I'll merge it.

@elliotcm thanks, should be ready to merge now.


Some content nodes do not get indexed - Perhaps due to length?

As per some struggles I was having getting all the content nodes to properly index, it occurred to me to check on whether those un-indexed pages were very large (long) pages... and if perhaps Lucene/Examine has a limit on field length. A search about Examine limitations turned up this forum post, which suggest that the max length of a field is 32766.
According to the FTS Dashboard, 39 nodes were not getting indexed. I checked via SQL and only 13 of the nodes were larger than 32766:
SELECT TOP (1000) [Id]
      ,[NodeId]
      ,[Culture]
      ,[Text]
      ,LEN(CAST([Text] As nvarchar(max))) As [TextLength]
      ,[LastUpdated]
  FROM [dbo].[FullTextCache]
  ORDER BY  [TextLength] DESC

Ordered by [TextLength], it appears that 4000-ish might be the cut-off:

Have you seen anything like this?

As a test, I tried truncating the text in the IndexProviderTransformingIndexValues() function, and then re-publishing one of the problematic nodes. It still isn't saving those extra Lucene fields.
When I set a debugger, and break inside that function, I see that updatedValues[fieldName] is set to the content, and no exceptions are thrown on e.SetValues(updatedValues); but when I check the Index, the new FTS fields are still missing.

Another odd thing - when I add additional _logger.LogInformation() statements in IndexProviderTransformingIndexValues they are indicating that the code is completing.
...
			e.SetValues(updatedValues);

			_logger.LogInformation($"IndexProviderTransformingIndexValues: Node {e.ValueSet.Id} - Set Values: {updatedValues.Count} fields in Index.");

			var updatedValuesCheck = e.ValueSet.Values.ToDictionary(x => x.Key, x => (IEnumerable<object>)x.Value);
			var fts = updatedValuesCheck[_options.FullTextContentField].FirstOrDefault();
			_logger.LogInformation($"IndexProviderTransformingIndexValues: TEST: Node {e.ValueSet.Id} ({updatedValuesCheck.Count} fields in Index) - {_options.FullTextContentField} value = {fts} ");

(I see the expected messages in the Umbraco Log)
I'm just not sure what else to check here...

Hi Heather
Thanks for your great feedback. I'm going to have to look further into this...
Just curious, have you tried adding a text field on your node, and paste all the +4000 characters into that, to see if it fails indexing that one too?

Hi @skttl , thanks for your reply.
Today I added some properties to one of the nodes with indexing issues, and added an event on Publish to use the CacheService to lookup the cached data and store it in the node property:
using System;
using System.Linq;
using AmericanRegent.Web.Models;
using Microsoft.Extensions.Logging;
using Our.Umbraco.FullTextSearch.Interfaces;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Notifications;
using Umbraco.Cms.Core.PublishedCache;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Core.Web;

#region IComposer

public class UpdateFullTextSearchDataComposer : IComposer
{
	public void Compose(IUmbracoBuilder builder)
	{
		builder.AddNotificationHandler<ContentPublishedNotification, UpdateFullTextSearchDataNotificationHandler>();
	}
}

#endregion

#region NotificationHandler (Event Handling)

public class UpdateFullTextSearchDataNotificationHandler : INotificationHandler<ContentPublishedNotification>
{
	private readonly ILogger<UpdateFullTextSearchDataNotificationHandler> _logger;
	private readonly IPublishedSnapshotAccessor _publishedSnapshotAccessor;
	private readonly IUmbracoContextFactory _umbracoContextFactory;
	private readonly ICacheService _cacheService;
	private readonly IContentService _contentService;

	public UpdateFullTextSearchDataNotificationHandler(
		ILogger<UpdateFullTextSearchDataNotificationHandler> logger,
		IPublishedSnapshotAccessor publishedSnapshotAccessor,
		IUmbracoContextFactory umbracoContextFactory,
		ICacheService cacheService,
		IContentService contentService
		)
	{
		_logger = logger;
		_publishedSnapshotAccessor = publishedSnapshotAccessor;
		_umbracoContextFactory = umbracoContextFactory;
		_cacheService = cacheService;
		_contentService = contentService;
	}

	public void Handle(ContentPublishedNotification notification)
	{
		foreach (var item in notification.PublishedEntities)
		{
			UpdateFtsProp(item);
		}
	}

	private void UpdateFtsProp(IContent ContentItem)
	{
		var isNew = !ContentItem.HasIdentity;

		try
		{
			var aliasFtsContent = "SearchFullText";
			var aliasFtsUpdatedDate = "FullTextLastUpdated";

			if (ContentItem.HasProperty(aliasFtsContent))
			{
				var lastUpdatedDate = ContentItem.GetValue<DateTime>(aliasFtsUpdatedDate);
				var timeSinceUpdated = (DateTime.Now - lastUpdatedDate);
				var updateWithNewData = timeSinceUpdated.TotalSeconds > 30;

				if (updateWithNewData)
				{
					var ftsValue = _cacheService.GetFromCache(ContentItem.Id).Result;
					if (ContentItem.PublishedCultures.Any())
					{
						foreach (var culture in ContentItem.PublishedCultures)
						{
							var ftsCulture = ftsValue.Where(n => n.Culture == culture).First().Text;
							ContentItem.SetValue(aliasFtsContent, ftsCulture, culture);
							ContentItem.SetValue(aliasFtsUpdatedDate, DateTime.Now);
							_contentService.SaveAndPublish(ContentItem);
						}
					}
					else
					{
						//Not variant
						var ftsCulture = ftsValue.First().Text;

						ContentItem.SetValue(aliasFtsContent, ftsCulture);
						ContentItem.SetValue(aliasFtsUpdatedDate, DateTime.Now);
						_contentService.SaveAndPublish(ContentItem);
					}
				}
			}
		}
		catch (Exception e)
		{
			_logger.LogError(e, "Error in UpdateFtsProp().");
		}
	}
}

#endregion

On Publish, the property is populated with the FTS data from the DB table (the number of chars here is calculated):

And if I then check the "External Index" - I do see my "SearchFullText" property listed as an indexed field, and populated:

This is so strange to me...

As a follow-up, this is sort of functioning as a workaround - except of course, there is the odd bit about changing node content, and publishing and it would then be pulling the cached FTS from the DB table BEFORE re-rendering the node via HTTP (to update the cache DB table), so you have to have it publish twice, which is wonky... but the mystery still remains as to why a content node can have a property of the data, and that will get indexed automatically, but FTS can't successfully add just an index field for the same data (without a property backing it).

I haven't looked into this in detail and I have not seen similar issues with the 4.0.0-alpha. However I'm thinking that maybe it has to do with the "data type" in the Lucene index? Not at all sure but just sharing thoughts.


Use default TLS configuration in application-connector Istio gateway

Since Kyma 2.15 ECDHE-RSA-AES256-SHA and ECDHE-RSA-AES128-SHA cipher suites are deprecated and Kyma security team recommendation. Remove cipher suites configuration from TLS on kyma gateway since envoy is already configuring cipher suites by default. Remove minProtocolVersion since it's redundant to istio default configuration.

/test all

/test all

/test all


Support native targets

Supported: jvm, linuxX64, mingwX64 and macosX64
It closes #5

Waiting for @TWiStErRob for a final look

I updated with latest main, there was some conflicts because we (Renovate) bumped versions.

Thank you for the contrib, @nulls! Great to see these kinds of improvements.
I also just noticed that you work for the competition :)

thank you guys for making this library! Only one thing is remaining: to release it to the Central, yes?

I will do it tomorrow


Feat: Run in a serverful prod environment

The changes made to this pull-request request allow to run the opencollective bot in a "serverful" environment.
It is currently under development and I use Heroku as a test environment.
Related https://github.com/opencollective/opencollective/issues/2603

OK @znarf, I think it's ready for review.
I changed almost the whole content of index.ts and the way the validation paths are added. This way the bootstrap is closer to the probot standard.

Okay, it wasn't that simple to discover the solution. But it's finally working in Ziet Now v2.0 and Heroku. I removed the duplicate applications in index.ts and set Probot to run as lambda aws in Now.

Hi @znarf, I made the requested changes and rebase to master. It's very satisfying when you get to remove more code than you add. It doesn't happen very often.

@gmarcos87 Were you able to test it? In my two attempts (one on staging, on on local environment), the bot doesn't seem to receive and process messages.

@gmarcos87 Were you able to test it? In my two attempts (one on staging, on on local environment), the bot doesn't seem to receive and process messages.

I think I understand what's going on. You are running the bot with npm run dev?

@gmarcos87 in one case, yes. In the other, it was on our now staging deployment.

Reading this issue in the Probot repo I see that they are not going to give support for npm run dev in ts that does not mean rebuilding again.
I updated the package.json. Now nodemon does the build and then runs npm run start over and over again.
The problem you're telling me sounds like an error in the environment variables. Can you try again? In my local execution I see arriving and leaving messages, even publishing the pull-request https://github.com/gmarcos87/lime-app/pulls

@gmarcos87 hmm, there is not much background information on the issue https://github.com/probot/create-probot-app/issues/35 and I'm not sure we were facing it. Willing to try but it looked better before.

Ok, it worked locally in my last attempt! I'll now check the staging configuration and try again.

Another possible solution is to create a dev-server.ts file that runs probot with Probot.run(main) and run it from npm run dev (nodemon --exec dotenv ts-node ./dev-server.ts).
import { Probot } from 'probot'
import main from './src/index'

Probot.run(main)

That would leave the operation quite similar to that which existed before this pull-request and avoids constant rebuild.

Merged in https://github.com/opencollective/opencollective-bot/pull/250

Hi @gmarcos87

Hi @gmarcos87, we are doing a monthly Twitter thread to thank contributors. Would you be ok to be mentioned? If so, could you share your Twitter profile with me? Thanks!

Hi @gmarcos87, we are doing a monthly Twitter thread to thank contributors. Would you be ok to be mentioned? If so, could you share your Twitter profile with me? Thanks!

Hi @Betree, That would be very nice. My Twitter user is @jsPixxel


feat: enable benchmarking

Main change is here: https://github.com/cmu-db/15721-s24-cache-benchmark/blob/lkl/benchmark/.github/workflows/test_group_1.yml
Trigger this action and we can get the benchmark time.

Codecov Report
Attention: Patch coverage is 79.16667% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 87.69%. Comparing base (6532d47) to head (02ceacb).

Files
Patch %
Lines

storage-client/src/client.rs
80.95%
0 Missing and 4 partials :warning:

storage-node/src/server.rs
66.66%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
- Coverage   87.78%   87.69%   -0.09%
==========================================
  Files          21       21
  Lines        3242     3260      +18
  Branches     3242     3260      +18
==========================================
+ Hits         2846     2859      +13
  Misses        216      216
- Partials      180      185       +5

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


Update README.md

I think this is good, however, do we still need a link to your GIST if it is also in the repo? Perhaps it is better if we continue working on that one.

(@anyone, feel free to merge by the way)


[SPARK-2505][MLlib] Weighted Regularizer for Generalized Linear Model

(Note: This is not ready to be merged. Need documentation, and make sure it's backforwad compatible with Spark 1.0 apis).
The current implementation of regularization in linear model is using Updater, and this design has couple issues as the following.

It will penalize all the weights including intercept. In machine learning training process, typically, people don't penalize the intercept.
The Updater has the logic of adaptive step size for gradient decent, and we would like to clean it up by separating the logic of regularization out from updater to regularizer so in LBFGS optimizer, we don't need the trick for getting the loss and gradient of objective function.
In this work, a weighted regularizer will be implemented, and users can exclude the intercept or any weight from regularization by setting that term with zero weighted penalty. Since the regularizer will return a tuple of loss and gradient, the adaptive step size logic, and soft thresholding for L1 in Updater will be moved to SGD optimizer.

I'm looking at really old PRs -- this is obsolete now, right?

@srowen I'm still working on this PR, but unfortunately, I didn't have enough time to finish it so I keep delaying. This PR is important since it will be a general framework to solve L1/L2 problem. The current way we use Updater is very awkward in my opinion.


log errors when docker client fails

these errors often get wrapped/eaten by callers, so it'd be better to log them when they occur in case we need the details.
@mfojtik @gabemontero ptal.

[test]

LGTM

+1

[merge]


Can't open the program.

Hi, so i was figuring out how to open this but i just cant find it.
Do i need something that runs a Python code? If yes, what do i need excacly.
Thanks.

Off-course you need python installed on your device.


Crash with S2S v3 restarts

I have 3 runs that have crashed while initializing.

Release:

optim build
debug build

Develop optim build

Here I will describe my release debug build of https://github.com/GEOS-ESM/GEOSgcm
GEOSgcm                | (b) main
env                    | (t) v4.4.0 (DH)
cmake                  | (t) v3.18.0 (DH)
ecbuild                | (t) geos/v1.2.0 (DH)
NCEP_Shared            | (t) v1.2.0 (DH)
GMAO_Shared            | (t) v1.6.1 (DH)
MAPL                   | (t) v2.26.0 (DH)
FMS                    | (t) geos/2019.01.02+noaff.8 (DH)
GEOSgcm_GridComp       | (t) v1.17.0 (DH)
FVdycoreCubed_GridComp | (t) v1.12.1 (DH)
fvdycore               | (t) geos/v1.5.0 (DH)
GEOSchem_GridComp      | (t) v1.10.2 (DH)
HEMCO                  | (t) geos/v2.2.3 (DH)
geos-chem              | (t) geos/v13.0.0-rc1 (DH)
GOCART                 | (t) v2.1.0 (DH)
QuickChem              | (t) v1.0.0 (DH)
GEOS_OceanGridComp     | (t) v1.1.1 (DH)
mom                    | (t) geos/5.1.0+1.2.0 (DH)
mom6                   | (t) geos/v2.0.4 (DH)
cice6                  | (t) geos/v0.0.1 (DH)
sis2                   | (t) geos/v0.0.1 (DH)
GEOSradiation_GridComp | (t) v1.0.0 (DH)
RRTMGP                 | (t) geos/v1.5+1.0.0 (DH)
GEOSgcm_App            | (t) v1.8.0 (DH)
UMD_Etc                | (t) v1.1.0 (DH)
CPLFCST_Etc            | (t) v1.0.1 (DH)

Debug build (path follows below) seems to indicate a problem in
FVdycore_GridCompMod.F90.
My restarts:

They originate from S2S v3 1982/01/01. /archive/u/gmaofcst/GEOS5.0/M2OCEAN_S2SV3//restarts//Y1982/restarts.e19820101_00z.tar
I regridded them consistently with the remap utility that I built.  Config file: /discover/nobackup/sakella/restarts/restarts_S2Sv3_14Oct2022/output_m6/remap_params.yaml

Debug build path:
/discover/nobackup/sakella/geosMom6/v10.23.0/GEOSgcm/install-Debug
Log file:
/discover/nobackup/sakella/cpld72L_1m_m6_Oct2022/debug-test1.log
Appreciate any help to fix this problem!.Thanks!

Adding one more data point. I tried:

develop and optimized build
c12 x 5-deg case

To my surprise (and some ☮ ) that worked! Of course, restarts and everything for this case originates from @mathomp4
-- at least we have a case that (still) works and another that fails when the resolution and restarts are changed to what I described ⤴ .
FWIW, log file for c12 x 5-deg is at: /discover/nobackup/sakella/test_5deg/test1.log

Following ⬆ it became apparent to me that somehow my restarts got corrupted, and specifically fvcore_internal_rst.
I could successfully generate a healthy set of restarts and get a 1-day run to finish okay.
FWIW I left the case that generated bad restarts at: /discover/nobackup/sakella/restarts/restarts_S2Sv3_14Oct2022/CORRUPTED_rst for @weiyuan-jiang's interest!
For now, closing this issue!

I just saw this ticket and was going through it...but it seems to work...so huzzah!


Request to add GOLD environment path field

New term details
For us to assess a new term request we require the following details:
Term name - GOLD Ecosystem Path
Structured comment name - GOLD_env_path
Definition - Genomes OnLine Database (GOLD) ecosystem classification paths describe the environment from which an environmental sample or an organism was collected. In this five level hierarchical classification system (described here: doi.org/10.1111/j.1462-2920.2010.02270.x), ‘Ecosystem’ at the top describes the broader environment (Environmental, Engineered and Host-associated) and ‘Specific Ecosystem’ at the bottom refers to the specific feature of the environment as shown in the following example.
Five Levels: Ecosystem -> Ecosystem Category -> Ecosystem Type -> Ecosystem Subtype -> Specific Ecosystem
Example Path: Environmental -> Aquatic -> Marine -> Oceanic - > Aphotic zone
Expected value -  Ecosystem:Environmental | Ecosystem Category: Aquatic | Ecosystem Type : Marine | Ecosystem Subtype:Oceanic | Specific Ecosystem: Aphotic zone
Value Syntax - [Ecosystem:term | Ecosystem Category:term | Ecosystem Type:term | Ecosystem Subtype:term | Specific Ecosystem:term]
Example - Five Levels: Ecosystem -> Ecosystem Category -> Ecosystem Type -> Ecosystem Subtype -> Specific Ecosystem
Example Path: Environmental -> Aquatic -> Marine -> Oceanic - > Aphotic zone

Additional context
Email conversation pasted below:
[1]------

Hi Lynn and Ramona,
I wanted to see whether there might be a possibility to consider adding GOLD ecosystem path terms, in addition to the EnvO triad, for the MIxS v6 update? Attached is the list of terms, which the NMDC team has been working with to curate with the MIxS EnvO triad. As you may know, there are several issues with adopting EnvO for many sample types, for example, there is a disconnect for not supporting host-associated samples and other nuances.
I don't know where things stand for the v6 roll out, but if this could at all be considered, it would be tremendous. In discussions with Rob Finn, this would also support much of their work on MGnify since they have adopted GOLD for describing metagenome/metatranscriptome samples too. Thanks for considering.
(And Lynn, I know I owe you an email re: grants planning!)
Best,
Emiley

[2]------

Hello Emiley,
We are happy to support this effort.
We are near the final steps of pushing MIxSv6.0 out in the next month (or so).
How are you envisioning this integrating into MIxS?
Would there be new MIxS terms; ecosystem, ecosystem category, ecosystem type, ecosystem subtype, specific ecosystem ??
such as:
Package Item                    Expected value                    Value syntax
ecosystem                     enumeration                     [engineered|environmental|host-associated ]
ecosystem category     enumeration                      [air|algae|aquatic| ... ]
We would need:

a 20-character (or less) Structured comment name, for each Package Item
a definition for each of the new Package Items.
An enumerated, alphabetical, pipe delimited list of each 'value syntax' for each Package Item

Which environmental packages do you want these terms added to ?
Regarding the 'Requirement field', please choose from:
C: conditional mandatory
X: optional
E: environment-dependent
Occurrence: can any of the terms be used more than once or only once ?
If you can reorganize this list of terms into the MIxS format, it would be straightforward to add
the new terms to MIxS6.
I can then provide new MIxS IDs for these new Package Items.
Cheers,
Lynn

[3]-----

Hi Lynn,
Emiley forwarded your reply to us. Thank you for agreeing to include our simple, user friendly and easy to expand/adopt ecosystem classification paths.
I am providing below the needed information you mentioned.
We would like to propose putting GOLD’s 5 level ecosystem classification paths into a single field for MixS packages. This approach will help in the following.

Limit expansion of fields to one instead of 5

Having 5 different fields that are interconnected and part of a hierarchy will be a challenge to provide this information to users by excels

Since these 5 terms/fields essentially part of single ecosystem classification path, treating it as such will simplify things will help users to choose an appropriate path.

Package Item: GOLD Ecosystem Path
Expected Value:  Ecosystem:Environmental | Ecosystem Category: Aquatic | Ecosystem Type : Marine | Ecosystem Subtype:Oceanic | Specific Ecosystem: Aphotic zone
Value Syntax: [Ecosystem:term | Ecosystem Category:term | Ecosystem Type:term | Ecosystem Subtype:term | Specific Ecosystem:term]
We would need:

Structured comment name: GOLD Ecosystem Path
A definition: Genomes OnLine Database (GOLD) ecosystem classification paths describe the environment from which an environmental sample or an organism was collected. In this five level hierarchical classification system (described here: doi.org/10.1111/j.1462-2920.2010.02270.x), ‘Ecosystem’ at the top describes the broader environment (Environmental, Engineered and Host-associated) and ‘Specific Ecosystem’ at the bottom refers to the specific feature of the environment as shown in the following example.
Five Levels: Ecosystem -> Ecosystem Category -> Ecosystem Type -> Ecosystem Subtype -> Specific Ecosystem
Example Path: Environmental -> Aquatic -> Marine -> Oceanic - > Aphotic zone

A full list of available GOLD ecosystem classification paths can be downloaded from https://gold.jgi.doe.gov/download?mode=ecosystempaths. “GOLD MIxS Ecosystem Path” field lists the pipe separated five level classification path for use in the MixS package. Use https://gold.jgi.doe.gov/help to provide feedback or submit requests for new ecosystem classification paths.
Five Levels: Ecosystem -> Ecosystem Category -> Ecosystem Type -> Ecosystem Subtype -> Specific Ecosystem
Example Path: Environmental -> Aquatic -> Marine -> Oceanic - > Aphotic zone
- An enumerated, alphabetical, pipe delimited list of each 'value syntax' for each Package Item

The highlighted column from the attached excel lists all available paths. We didn’t have this last column on our download file on the GOLD site yet. We will add this additional column once we settle on this final format and process to access/provide this list to users.
Which environmental packages do you want these terms added to ?

This will be applicable to all packages.
Regarding the 'Requirement field', please choose from:
C: conditional mandatory
Occurrence: can any of the terms be used more than once or only once ?
Once.
Let me know if you need more information or have any questions. I am open for any suggestions about the formatting of the values differently if needed.
Cheers,
Reddy.

I feel like we have had this discussion before and the previous decision was that the Environment fields we already have cover these same values.
Please can someone clearly explain the rationale for having multiple fields asking for the same thing?
If GOLD is more popular than ENVO then perhaps we can adjust the current definitions to allow GOLD value as well as ENVO values?
The suggested format of having 5 key-value pairs within 1 field would be something I would strongly oppose. If we see the need for the GOLD terms then it would need to be split into 5 individual fields. Perhaps there is scope to re-define the 3 we already have and add the other two?
Perhaps there is scope for a task group to map GOLD and ENVO terms to enable interoperability?

I feel like we have had this discussion before and the previous decision was that the Environment fields we already have cover these same values.

Yes, as described in the guidance on using ENVO (and interoperable ontologies, including extensive ones for host anatomy) in MIxS fields, statements such as this...

As you may know, there are several issues with adopting EnvO for many sample types, for example, there is a disconnect for not supporting host-associated samples and other nuances.

... are simply not the case. I don't really know what else to say.
I'm not convinced that this request adds anything we don't already cover in the ENVO fields, which actually use standard semantic web good practices that are interoperable with (and used by) other independent systems. Further, none of these terms are defined (let alone with consistent logic) which will not end anywhere good in terms of information management or standardisation.

If GOLD is more popular than ENVO then perhaps we can adjust the current definitions to allow GOLD value as well as ENVO values?

Even if it is "more popular" (with whom?) it simply doesn't hold up to closer inspection, especially for use in a standardisation context. Twitter hashtags are more transiently popular than ISO specifications, and yet...
To be blunt, looking at the Excel file, It seems that - rather than doing the work of making corpus of local metadata interoperable - this request is aimed at retrofitting a standard specification for the convenience of the GOLD system and affiliated systems. How does this help the GSC standards link to the broader world?  Many of the ecosystems in the GOLD system are not ecosystems or material objects at all, but properties or just adjectives.
Unfortunately, this pattern has been demonstrated by the requests made by this team at the CIG (which couldn't hold up to review) and on the ENVO tracker. In the latter case, it has been shown that 1:1 mappings and ENVO extensions (passing through quality control) through collaborative effort are very possible https://github.com/EnvironmentOntology/envo/pull/1097.

The suggested format of having 5 key-value pairs within 1 field would be something I would strongly oppose. If we see the need for the GOLD terms then it would need to be split into 5 individual fields. Perhaps there is scope to re-define the 3 we already have and add the other two?

Very much so - this creates a new data structure and bespoke dependency on an incoherent (examining the Excel file linked to above) "path" concept.

Perhaps there is scope for a task group to map GOLD and ENVO terms to enable interoperability?

Kai Blumberg created a 1:1 mapping of most of these fields to ENVO classes some time ago (here), in coordination with Rob Finn (mentioned above), and further work has already been done to provide quality controlled ENVO content to patch gaps.
If that's not implemented in GOLD and associated systems, and they prefer to use undefined keyword lists, there's not much we can do about it. But what we should not do is take a GSC standard three steps backward when it comes to the use of FAIR terminologies in order to legitamise what appears to be a logically incoherent and non-interoperable classification scheme.
We could easily create a working group to finish the initial mappings, and - de facto - already have one with those in the NMDC that have professional experience building classification systems, information standards, and ontologies.
The path forward - demonstrated by @wdduncan and @turbomam - has already been explored and is in operation, and we've added content to ENVO to support GOLD fields.

In order to decide if GOLD paths should be included in MIxS, we need to determine what the added value would be.
Determining this is difficult. Part of the reason for this difficulty (I think) is because GOLD does not provide rigorous definitions for the paths:

ECOSYSTEM
ECOSYSTEM_CATEGORY
ECOSYSTEM_TYPE
ECOSYSTEM_SUBTYPE
SPECIFIC_ECOSYSTEM

The lack of definitions is complicated by some values showing up at multiple levels in the path. E.g.: Soil shows up as both a ECOSYSTEM_SUBTYPE and ECOSYSTEM_TYPE in the biosample data:

ECOSYSTEM
ECOSYSTEM_CATEGORY
ECOSYSTEM_TYPE
ECOSYSTEM_SUBTYPE
SPECIFIC_ECOSYSTEM

Environmental
Terrestrial
Floodplain
Soil
Unclassified

Environmental
Terrestrial
Soil
Unclassified
Forest Soil

From an ontology perspective, this makes it difficult to determine what the intended ranges are for GOLD's ECOSYSTEM_TYPE and ECOSYSTEM_SUBTYPE terms (as well as the other path terms). Also, GOLD's use of Unclassified values complicates things.
If these issues can be worked out, then we can find out if there is value to adding GOLD paths to MIxS, or (perhaps) it may help in generating a consistent mapping between GOLD paths and MIxS triads.

Hello Bill,
Can you discuss this will TBK ? And let us know how NMDC wants to
proceed ?
Much appreciated,
Lynn
On Mon, Jun 7, 2021 at 12:32 PM Bill Duncan @.***>
wrote:

In order to decide if GOLD paths should be included in MIxS, we need to
determine what the added value would be.
Determining this is difficult. Part of the reason for this difficulty (I
think) is because GOLD does not provide rigorous definitions for the paths:

ECOSYSTEM
ECOSYSTEM_CATEGORY
ECOSYSTEM_TYPE
ECOSYSTEM_SUBTYPE
SPECIFIC_ECOSYSTEM

The lack of definitions is complicated by some values showing up at
multiple levels in the path. E.g.: Soil shows up as both a
ECOSYSTEM_SUBTYPE and ECOSYSTEM_TYPE in the biosample data:
ECOSYSTEM ECOSYSTEM_CATEGORY ECOSYSTEM_TYPE ECOSYSTEM_SUBTYPE
SPECIFIC_ECOSYSTEM
Environmental Terrestrial Floodplain Soil Unclassified
Environmental Terrestrial Soil Unclassified Forest Soil
From an ontology perspective, this makes it difficult to determine what
the intended ranges are for GOLD's ECOSYSTEM_TYPE and
ECOSYSTEM_SUBTYPE terms (as well as the other path terms). Also, GOLD's
use of Unclassified values complicates things.
If these issues can be worked out, then we can find out if there is value
to adding GOLD paths to MIxS, or (perhaps) it may help in generating a
consistent mapping between GOLD paths and MIxS triads.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GenomicsStandardsConsortium/mixs/issues/155#issuecomment-856086720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBB4DIUPKHQTTX6H6R62JLTRTYDRANCNFSM45TSDMWQ
.

--
Lynn M. Schriml, Ph.D.
Associate Professor
Institute for Genome Sciences
University of Maryland School of Medicine
Department of Epidemiology and Public Health
670 W. Baltimore St., HSFIII, Room 3061
Baltimore, MD 21201
P:<PHONE_NUMBER> |  F:<PHONE_NUMBER>
@.***

Hi Lynn,
Unfortunately, this is not something that Reddy and I can decide. I think it needs to be discussed on a group call. Input is also needed for Chris Mungall and Emily.
Thanks,
Bill

Thank you Bill !!
Can you coordinate the call with GOLD and NMDC and discuss the points
raised here and
let us (GSC CIG) know how you want to proceed ?
Cheers,
Lynn
On Mon, Jun 7, 2021 at 1:27 PM Bill Duncan @.***> wrote:

Hi Lynn,
Unfortunately, this is not something that Reddy and I can decide. I think
it needs to be discussed on a group call. Input is also needed for Chris
Mungall and Emily.
Thanks,
Bill
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GenomicsStandardsConsortium/mixs/issues/155#issuecomment-856122535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBB4DN4FM6OKU4JPHADF3TTRT6RZANCNFSM45TSDMWQ
.

--
Lynn M. Schriml, Ph.D.
Associate Professor
Institute for Genome Sciences
University of Maryland School of Medicine
Department of Epidemiology and Public Health
670 W. Baltimore St., HSFIII, Room 3061
Baltimore, MD 21201
P:<PHONE_NUMBER> |  F:<PHONE_NUMBER>
@.***

To close the loop here: the NMDC team discussed this further earlier today, and we plan to do some internal work across the various teams to identify a solution that both meets the MIxS standards and our intent to help the research community. As @ramonawalls suggested, this topic can be moved to MIxS7 so as not to delay the v6 release. Thanks!

Thanks @emileyfadrosh

Thank you @emileyfadrosh
Closing this ticket.


Incorrect Constructor Usage in twice.cpp

TwiCeEntry struct has only one constructor, the default constructor, which takes no arguments. So, the line should have been curly brackets to specify list initialization.
https://github.com/CMU-SAFARI/ramulator2/blob/94179ba29374a3dcf0dd5ce25192d2616fbed962/src/dram_controller/impl/plugin/twice.cpp#L132
diff --git a/src/dram_controller/impl/plugin/twice.cpp b/src/dram_controller/impl/plugin/twice.cpp
index a59f7a5..75fa8ed 100644
--- a/src/dram_controller/impl/plugin/twice.cpp
+++ b/src/dram_controller/impl/plugin/twice.cpp
@@ -129,8 +129,8 @@ class TWiCeIdeal : public IControllerPlugin, public Implementation {

           if (m_twice_table[flat_bank_id].find(row_id) == m_twice_table[flat_bank_id].end()){
             // If row is not in the table, insert it
-            m_twice_table[flat_bank_id].insert(std::make_pair(row_id, TwiCeEntry(1, 0)));
-
+            m_twice_table[flat_bank_id].insert(std::make_pair(row_id, TwiCeEntry{1, 0}));
+
             if (m_is_debug) {
               std::cout << "TWiCeIdeal: Inserted row " << row_id << " into bank " << flat_bank_id << std::endl;
             }

The error:
/ramulator2/src/dram_controller/impl/plugin/twice.cpp:18:12: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
    struct TwiCeEntry {
           ^
/ramulator2/src/dram_controller/impl/plugin/twice.cpp:18:12: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided
/ramulator2/src/dram_controller/impl/plugin/twice.cpp:18:12: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided
1 error generated.
make[2]: *** [src/dram_controller/CMakeFiles/ramulator-controller.dir/build.make:202: src/dram_controller/CMakeFiles/ramulator-controller.dir/impl/plugin/twice.cpp.o] Error 1

Thanks for spotting this issue! Indeed, this constructor usage causes issue with clang. We have fixed this in the latest commit.


Warn users that the docs are relevant to 3.x

Request details
Currently the docs work when using 3.x, but as a user who was updating from 2.6.1 to 2.9.26 it took about an hour of downtime due to the config not loading, until I realized the docs were not about the current stable version.

#1122


Increase maximum edge-based CH key for preparation to 2^30 again

Since #2567 we store the edge key instead of the edge ID in CHPreparationGraph#OrigGraph, which is used (only) for edge-based CH preparation. Before this the maximum possible edge ID was around 536mio (Integer.MAX_VALUE >> 2), but due to the change now the maximum possible edge key is around 536mio, which means that the import will fail if the base graph has more than around 268mio edges!
However, we did not use the unsigned bitshift operator so far which means we were applying a limit that was below the physical limit implied by the 30bits we reserve for the edge ID/key. Using the unsigned shift the maximum is around 1 billion (Integer.MAX_VALUE >> 1) and since we are now storing edge keys this means the maximum number of edges is around 536mio when we use the unsigned shift.
@karussell already fixed this here: 7bb8ff7d4581e8f34baf574fb470816f3adfcc64 (thanks!), but reverted to the signed shift here again: 47c57118423b57f302ab1a021b00b913f80e527a, which I think is wrong.
Here I first extracted the methods doing the bit operations and added a test that shows that with the unsigned shift the conversion goes wrong above 536mio: c4f5e923ab7010cf704256ccd95d9e4c748b3f57. Then I used the signed shift which fixes the failing test up to 1 billion: c34fc355de81ae2802bcf1302e61e9f398395ab2, and finally I inlined everything again and removed the test (or should we keep this?) for this PR.

Merging here as this is kind of urgent, but @karussell please feel free to comment or make further changes.

I added a test: 3c2dfd1aedf8ba6881353456117ca5ec486f20a7


Create an ABAP Managed Database Procedure (AMDP) and Analyze Its Performance

Tutorials: https://developers.sap.com/tutorials/abap-environment-amdp-profiling.html
At Step 10, paragraph 1, should read "Ctrl+S, Ctrl+F3" instead of "Ctrl+S, Ctrl+3"?

Yes. Apologies, I'll fix this at once.
Thanks and best wishes,
Julie.

@julieplummer20 Is the issue fixed? In the future, please close your own tickets.

Hi Thanos,
I have closed the issue.
Please let me know if you have any other issues or questions.
BR Julie.


img2img results sometimes stretched depending on image/selection dimensions

Describe the bug
Img2img in this and the original plugin is pretty smart and mostly prevents stretching at varying selection sizes
(or entire images when not using selections)
1% aspect ratio changes between the selection and the result image is workable, feathered selections get around that issue beautifully
But the change % does reach crazy numbers sometimes
When I was making the video to report this bug I hit the highest aspect ratio change I've ever seen - pretty lucky.
for reference, this was the message in the terminal when I did img2img on a selection:
img size: 581x218 -> 512x256, aspect ratio: 2.67 -> 2.00, -24.96% change
*this -24.96% aspect ratio change also happens without using selections if the image was that size
To Reproduce

Create a non-square selection on an image
press img2img
look at terminal to see if the aspect ratio changed
if the aspect ratio changed, the result from the img2img should be slightly stretched compared to the source image
Depending on your luck you might not even see this issue, which is why I've included an exact selection/image size that consistently shows this issue (581x218)

Screenshots
Video of reproducing the behavior, with subtitles and stable diffusion terminal visible
base size used: 1280 (changing this value later to 512 didn't affect the stretch % at all)
max size used: 512
Desktop (please complete the following information):

OS: Windows

Additional context
This issue was present even in the original plugin, which is how I learned to mostly live with it using feathered selections
(or square selections if the portion I'm working on is important)
But no amount of feathering will save images stretched more than 5%

Enable "Adjust selection aspect ratio" (I just shortened the name recently). That is what actually enables the fix. I get the same values as you with it disabled, but much lower values with it enabled.

Yes I can confirm it has significantly reduced the rate of stretches
It really does adjust the selection aspect ratio to prevent issues, and it works almost all the time
max size 512 = 582x291 -> 512x256, aspect ratio: 2.00 -> 2.00, 0.00% change
max size 1024 = 583x255 -> 1024x448, aspect ratio: 2.29 -> 2.29, -0.02% change
The bug still exists, but the improvement is very welcome
max size 768 = 583x243 -> 768x384, aspect ratio: 2.40 -> 2.00, -16.64% change
max size 640 = 582x233 -> 640x320, aspect ratio: 2.50 -> 2.00, -19.93% change
max size 960 = 582x233 -> 960x448, aspect ratio: 2.50 -> 2.14, -14.21% change
max size 1280 = 582x233 -> 1280x576, aspect ratio: 2.50 -> 2.22, -11.03% change
max size 1536 = 583x243 -> 1536x704, aspect ratio: 2.40 -> 2.18, -9.06% change
The max sizes I use are only 512, 768, 1024, and 1536 but more data will probably help fixing this and I'll be collecting more in my next drawing session
Unrelated to this issue, I should probably open a feature request for this but I'd like to hear your thoughts first:
*I stuck with those max sizes because I can't remember more than those numbers, a dropdown list would be nice since the numbers we can use are restricted to powers of 2 anyway
*or some way to automatically change max size to the next size that's a power of 2 so users can just input 500 to get 512 and not have to worry about exact values, something like how the aspect ratio fix works

Forgot to include the video so here it is

Actually, the values are already constrained to multiples of 64 (you can try inputting 513 and see it get changed to 512).

Wait so those examples above are even with the selection fix on?

Yep, start of the video shows that the selection fix is on
After thinking some more about it, it's starting to feel like I want img2img to function as inpainting at full resolution
inpainting at full resolution basically does the same thing, might want to look at how it handles different-sized inpaint areas and why we never see any image stretch with it

Weird, I can't reproduce it. It seems to correctly adjust the selection for me.

pulled from this repo again to make sure I'm not missing updates
this time including the selection size
having the selection go offscreen affects results
bottom image shows stretching on the same selection size you used

sanity check just to make sure the stretching is repeatable

Okay, I am going to re-open this for later.

btw, I fixed some of the issues with inpainting, you might want to give it a try again: https://github.com/Interpause/auto-sd-paint-ext/wiki/Usage-Guide#inpainting

The value the selection area fix tries to pad to is dependent on the difference in aspect ratio between the original selection and the fixed aspect ratio. I just doubled the maximum padding it will search to, although my (incorrect) maths tells me it need not pad that much. Nonetheless, it might solve the problem, so see if its fixed for you.

Looks like the main issue is fixed now, I absolutely love seeing the 0.00% aspect ratio change with whatever selection size I work with.
Everything just lines up perfectly I can now consistently work with significantly smaller selection feather radius values like 5 instead of 25 minimum
Tested the new way to do inpainting, these are definitely huge quality of life improvements, wow

not having to change brush colors
the ability to inpaint at full resolution just by using a selection over an area

The wiki usage guide might need some work since it didn't walk me through each step and I had to do some trial and error before I finally understood how to do it - and that's with me already having inpaint experience
A short .gif showing these three (or four) steps might be enough:

create new layer
scribble on image using any brush
click start inpaint button
(optional) performing a selection over an area to reduce what the model sees - a.k.a. inpaint at full resolution

Something like this: https://www.youtube.com/watch?v=Z185gCfrAOM
Thanks for this huge update, sddebz  would be proud

Btw the full resolution thing was always there. Its just an explicit explanation of how it works given my explanation in the demo video wasnt clear.


[FLINK-19679] Deduplicate code between CheckpointBarrierUnaligner and CheckpointBarrierAligner

This PR deduplicates code between CheckpointBarrierUnaligner, CheckpointBarrierAligner and AlternatingCheckpointBarrierHandler
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks for the review.
No I haven't but none of the changes are on any of the critical code paths (per record, or even per buffer). It only affects per checkpoint, and the difference is tiny (one additional "bimorphic" virtual call), so I wouldn't worry about performance impact.

Azure is green, merging.


AppAuth.JS client cannot authenticate with 'AuthenticationScheme: idsrv was not authenticated' when Identity Server hosted behind a load balancer.

Background
I am trying to add a new mobile client to an existing working Identity Server 3.1.2 setup. Previously the Identity Server implementation supported only web site clients, the new client is mobile device using AppAuth.JS.
I have successfully added the client to the configuration and it works when my Identity Server is hosted in Azure (as a test). However, for production usage, I have two Identity Server nodes, hosted in IIS, behind an F5 load balancer. In this on-premises configuration, the client fails to authenticate, even though the deployed code for the Identity Server nodes is identical to the Azure hosted test. Note that the web-based clients are working without any issues, it is just the AppAuth.JS based client that has a problem.

 I can now get the same result with my simpler system i.e. same code works in Azure but fails when hosted in IIS

Symptom
When I try to connect to my on-premise configuration with my AppAuth mobile client,

I am presented with my custom page to enter user details
I am able to enter my user credentials
These are validated against a custom provider (if I enter incorrect values I get the expected error message)
Instead of being redirected back my mobile app, I just return to the login dialog Step 1.

Question
Is there anything extra I need to be aware of that could explain why the same code works when hosted in Azure, but does not when hosted on IIS
Minimal working example
My new client is defined as follows
 new Client
                {
                    ClientId = "< a guid>",
                    ClientName = "Android",
                    AllowedGrantTypes = GrantTypes.Code,
                    RequirePkce = true,
                    RequireConsent = false,
                    RequireClientSecret = false,
                    ClientSecrets =
                    {
                        new Secret("<a guid>".Sha256())
                    },
                    RefreshTokenUsage = TokenUsage.ReUse,
                    RedirectUris = { "net.openid.appauth:/oauth2redirect" },
                    AllowedScopes = { "openid", "profile", "offline_access"},
                    AllowOfflineAccess = true
                },

Relevant parts of the log file
My on-premise hosted failing request shows
info:  Request starting HTTP/1.1 GET http://identity.domain.co.uk/connect/authorize/callback?
redirect_uri=net.openid.appauth%3A%2Foauth2redirect&client_id=<client guid>&response_type=code&st
ate=v0lWh1kChvYNGDseYy-
dkg&scope=openid%20profile%20offline_access&code_challenge=JN7xdMhftEcUdfrLQyCa6ipSaytx71qm5ib4vW
qN6lk&code_challenge_method=S256

trce: All hosts are allowed.

dbug: AuthenticationScheme: idsrv was not authenticated.

dbug: Request path /connect/authorize/callback matched to endpoint type Authorize

dbug: Endpoint enabled: Authorize, successfully created handler: IdentityServer4.Endpoints.AuthorizeCallbackEndpoint

info: Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeCallbackEndpoint for /connect/authorize/callb
ack

dbug: Start authorize callback request

dbug: AuthenticationScheme: idsrv was not authenticated.   <<< the error line

dbug: No user present in authorize request

dbug: Start authorize request protocol validation

trce: Calling into client configuration validator: IdentityServer4.Validation.DefaultClientConfigurationValidator

dbug: IdentityServer4.Stores.ValidatingClientStore[0]  client configuration validation for client <client id> succeeded.

dbug: IdentityServer4.Validation.AuthorizeRequestValidator[0]   Checking for PKCE parameters

dbug: IdentityServer4.Validation.AuthorizeRequestValidator[0]   Calling into custom validator: IdentityServer4.Validation.DefaultCustomAuthorizeRequestValidator

trce: IdentityServer4.Validation.AuthorizeRequestValidator[0]  Authorize request protocol validation successful

dbug: IdentityServer4.Endpoints.AuthorizeCallbackEndpoint[0]
      ValidatedAuthorizeRequest
      {
        "ClientId": "guid",
        "ClientName": "Android",
        "RedirectUri": "net.openid.appauth:/oauth2redirect",
        "AllowedRedirectUris": [
          "net.openid.appauth:/oauth2redirect"
        ],
        "SubjectId": "anonymous",
        "ResponseType": "code",
        "ResponseMode": "query",
        "GrantType": "authorization_code",
        "RequestedScopes": "openid profile offline_access",
        "State": "v0lWh1kChvYNGDseYy-dkg",
        "SessionId": "",
        "Raw": {
          "redirect_uri": "net.openid.appauth:/oauth2redirect",
          "client_id": "3be0de5b-b720-4fe4-9cda-17bf63246b58",
          "response_type": "code",
          "state": "v0lWh1kChvYNGDseYy-dkg",
          "scope": "openid profile offline_access",
          "code_challenge": "JN7xdMhftEcUdfrLQyCa6ipSaytx71qm5ib4vWqN6lk",
          "code_challenge_method": "S256"
        }
      }

trce: ProcessInteractionAsync
info: Showing login: User is not authenticated
trce: End Authorize Request. Result type: IdentityServer4.Endpoints.Results.LoginPageResult
trce: Invoking result: IdentityServer4.Endpoints.Results.LoginPageResult
info: Request starting HTTP/1.1 GET http://identity.mydomain.co.uk ....  < as above

The working Azure hosted request shows
Request starting HTTP/1.1 GET http://mysite.azurewebsites.net/connect/authorize/callback?redirect_uri=net.openid.appauth%3A%2Foauth2redirect&client_id=<client guide>&response_type=code&state=8s4OZ8g57j_78559CmIVfw&scope=openid%20profile%20offline_access&code_challenge=zz13y9WR9UOAi04y6pWmfH_XP5k0VUikDPTtZ-6nTSI&code_challenge_method=S256

[Information] IdentityServer4.Hosting.IdentityServerMiddleware: Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeCallbackEndpoint for /connect/authorize/callback

[Information] AuthenticationScheme: idsrv signed in. <<< log the same until here

[Information] Request starting HTTP/1.1 POST http://bmid4.azurewebsites.net/connect/token application/x-www-form-urlencoded 329

[Information] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.TokenEndpoint for /connect/token
2021-03-04 12:33:07.928 +00:00 [Information] IdentityServer4.Validation.TokenRequestValidator: Token request validation success, {"ClientId": "<client ID>","ClientName": "Android","GrantType": "authorization_code","AuthorizationCode": "KtRGVolM0mDI0FyKUW26a-jBVm3S2Zm_ovFDw-QHeQ8","Raw": {"code": "KtRGVolM0mDI0FyKUW26a-jBVm3S2Zm_ovFDw-QHeQ8","grant_type": "authorization_code","redirect_uri": "net.openid.appauth:/oauth2redirect","client_secret": "***REDACTED***","code_verifier": "MOj9Eq17vWKZ6P9Eb7FYWL7lg0ZVVqvxUh7Muy-bRYsgH24ZwExLptoTRWR9rNqGYAdewH6_lDHvaAd9x92zpg","client_id": "<client ID>"}}

I have been doing some more detailed logging shows the difference in a working flow (hosted in Azure) and the failing (hosted in IIS or kestrel on HTTPS).
If there is a nonce parameter in the in authorise/callback fails
/connect/authorize/callback?redirect_uri=net.openid.appauth%3A%2Foauth2redirect&client_id=<guid>&response_type=code&state=<string>&nonce=Z-YxOFp6gCu2XU8dPSlx8w&scope=openid%20profile%20offline_access&code_challenge=<string>&code_challenge_method=S256

The presence of the nonce seems to lose cause the loss of the idsvr authentication.
Any suggestions as to why the nonce is causing the issue?

I have been looking into the /account/login call with Fiddler.
As suspected, the issue seems to be that the idsrv and idsrv.session cookies are being sent in the response to the android appAuth client, set as secure and samesite=none, but they are not being saved when the Idenity Server is hosted in IIS or Kestrel, but are saved when it is hosted in Azure.
Still need to find out why

I have found the problem, it was down to the order in the startup.cs file. Seems Azure is far more forgiving when IIS/Kestral. This order worked
  public void Configure(IApplicationBuilder app, Microsoft.AspNetCore.Hosting.IWebHostEnvironment env, ILoggerFactory loggerFactory)
 {
      //needs to be before everything else
      app.UseCookiePolicy();

     // Initialise the grant and operational databases
    this.InitializeDatabase(app);

    app.UseIdentityServer();
    app.UseStaticFiles();
    app.UseAuthentication();

    app.UseMvc(routes =>
    {
        // the routes
     });

}


Deep color support (10bit per color)?

Hello there, thank you for the amazing WM!
I don't know if it is implemented on WLroots, but does Hyprland support 10bit color? Run a test on my 10bit color supported monitor but looks like it wasn't enabled.
Do you have knowledge regarding this?

Wayland color management is still a WIP. So no, Hyprland does not implement 10bit color depth.

Wayland has no support for 10 bit color (HDR) yet.

k. Although I doubt I will ever change the way colors are registered in hyprland to support 10b.

That's a bummer but understandable.


Remove 'disabled' attribute from DOM if root element is not

Fixes #726.
Not sure if it will not break anything. If there's no code that reads 'disabled' attribute directly from DOM to determine if select widget is disabled, everything should be right.

Can you squash your commits then rebase against current master?

Squashed but now tests don't work, investigating cause of this.

For some reason, function returned from compile always don't get 'disabled' attribute in 'element' parameter. But then 'disabled' appears back, always. I have no idea how it works. Feel free to close and cancel this pull request, I gave up. Looked into Angular documentation today and it feels like quantum physics is easier than Angular.


Fix ClusterName Handling in liqoctl

Description
This pr fixes how liqoctl handles the cluster names.
In particular:

during installations:

if no name is provided and the generate name flag is not set, use the name retrieved from the cloud provider (if any)

during upgrades:

if generate name is provided, use the old cluster name
if the name is not provided, use the old cluster name
if a new name is provided, use the new one

How Has This Been Tested?

[x] add new unit tests
[x] locally on KinD

/test

/test

/test

/test

/test

/test

/rebase test=true

/merge


Python3 follow-up

this is a follow-up PR on https://github.com/ome/prod-playbooks/pull/215 as discussed with @manics

Conflicting PR. Removed from build TRAINING-merge#450. See the console output for more details.
Possible conflicts:

PR #215 manics 'Outreach Python 3'

requirements.yml

--conflicts

I think travis is failing because the python 3 work is split between this playbook and the private inventory vars. I think we should move all component versions from the private vars into this playbook.

Note travis is expected to fail until OMERO.server 5.6.0 is accessible


🐛 [firebase_auth] Flutter web app session removed due to AppCheck 401 response

Bug report
Describe the bug
This report is very similar to issue #11334 but confirmed that this is still happening after PR #11625.
It is not possible for a user to stay signed-in to a Flutter web app across sessions when AppCheck is enforced against Firebase Auth.
I recognize AppCheck with Auth is in beta, hopefully this report helps!
Steps to reproduce
Prerequisites: Flutter web app with AppCheck enforced on Auth.

Open site/app in Chrome, successfully auth a user against Firebase Auth w/AppCheck (using either debug or prod token & recaptcha enterprise). Notice the access token is placed under fbase_key in IndexedDB.firebaseLocalStorageDb.firebaseLocalStorage.
Close the tab. Open a new tab. Run app/site at same url (localhost or prod).
Notice in Chrome console: Failed to load resource: the server responded with a status of 401 () for https://identitytoolkit.googleapis.com/v1/accounts:lookup?key=<VALID_API_KEY>
Notice in firebaseLocalStorage that fbase_key has been removed (user was signed out @ auth_impl.ts:264 in initializeCurrentUser() (by deleting the locally stored user).
User returns to unauthenticated state and lands on our sign-in page.

Expected behavior
User auth should remain valid across separate tabs & sessions within the same browser.
Notes
I've not found a way to find granular information either in the client or server side about why the token passed to accounts:lookup is being rejected with a 401. I suspect that like #11334 this results from a race condition between Firebase.initializeApp() and FirebaseAppCheck.instance.activate() in which AppCheck is not yet in a ready state to 'sign' the request to accounts:lookup when it is called deep inside FirebaseInitializeApp()
Sample project
I can build one if essential, but since there's a bunch of server-side configuration (eg. AppCheck, tokens, enforcement) required for reproduction, it isn't clear that a min project would help substantially here. That said, I can make one if needed...

Additional context
From main.dart
    await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
    if (kDebugMode) {
      await FirebaseAppCheck.instance.activate(
        webProvider: ReCaptchaEnterpriseProvider('**DEBUG_TOKEN_PLACED_IN_APPCHECK_CONSOLE**'),
        appleProvider: AppleProvider.debug,
        androidProvider: AndroidProvider.debug,
      );
    } else {
      await FirebaseAppCheck.instance.activate(
        webProvider: ReCaptchaEnterpriseProvider('**VALID_RECAPTCHA_SITE_KEY**'),
        appleProvider: AppleProvider.appAttest,
        androidProvider: AndroidProvider.playIntegrity,
      );
    }

Error from network tab in Chrome dev tools:
{
  "error": {
    "code": 401,
    "message": "Firebase App Check token is invalid.",
    "errors": [
      {
        "message": "Firebase App Check token is invalid.",
        "domain": "global",
        "reason": "unauthorized"
      }
    ],
    "status": "UNAUTHENTICATED"
  }
}

Images
Expand
From index.ts (https://www.gstatic.com/firebasejs/auth/src/api/index.ts)

Network tab in Chrome dev tools:

auth_impl.ts:264 in initializeCurrentUser() signs out the user by deleting the locally stored user:

Stack trace
Click To Expand
(anonymous) @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
_performFetchWithErrorHandling @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
_performApiRequest @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
getAccountInfo @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
_reloadWithoutSaving @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
reloadAndSetCurrentUserOrClear @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
initializeCurrentUser @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
(anonymous) @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
queue @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
_initializeWithPersistence @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
_initializeAuthInstance @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
(anonymous) @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
getOrInitializeService @ https://www.gstatic.com/firebasejs/10.7.0/firebase-app.js:977
initialize @ https://www.gstatic.com/firebasejs/10.7.0/firebase-app.js:921
initializeAuth @ https://www.gstatic.com/firebasejs/10.7.0/firebase-auth.js:1
crR @ [omitted]/main.dart.js?v=17629200:10842

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.18.0-0.2.pre, on macOS 14.0 23A344 darwin-arm64, locale en-NL)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.85.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
This is for my full app, I've not yet made a min repro project.
Dart SDK 3.3.0-174.3.beta
Flutter SDK 3.18.0-0.2.pre
taaland 1.0.0+1

dependencies:
- algolia_helper_flutter 0.5.0 [algolia_insights algoliasearch collection flutter logging meta rxdart]
- cached_network_image 3.3.1 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image]
- cloud_firestore 4.14.0 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.6.0 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- collection 1.18.0
- crypto 3.0.3 [typed_data]
- csv 5.1.1
- cupertino_icons 1.0.6
- currency_text_input_formatter 2.1.11 [flutter intl]
- debounce_throttle 2.0.0 [meta simple_observable]
- device_info_plus 9.1.1 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry]
- enough_icalendar 0.15.0 [collection intl]
- excel 4.0.2 [archive xml collection equatable]
- file_picker 6.1.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32]
- file_saver 0.2.9 [flutter flutter_web_plugins path_provider path_provider_windows path_provider_linux http]
- firebase_analytics 10.8.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_app_check 0.2.1+8 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 4.16.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.24.2 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.4.9 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_performance 0.9.3+8 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter]
- firebase_remote_config 4.3.8 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter]
- firebase_storage 11.6.0 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine]
- flutter_background 1.2.0 [flutter plugin_platform_interface]
- flutter_cache_manager 3.3.1 [clock collection file flutter http path path_provider rxdart sqflite uuid]
- flutter_chat_ui 1.6.10 [diffutil_dart equatable flutter flutter_chat_types flutter_link_previewer flutter_parsed_text intl meta photo_view scroll_to_index url_launcher visibility_detector]
- flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_quill 9.2.9 [flutter flutter_localizations intl dart_quill_delta collection quiver equatable meta html flutter_colorpicker markdown html2md charcode url_launcher flutter_keyboard_visibility device_info_plus super_clipboard]
- flutter_stripe 9.6.0 [flutter meta stripe_android stripe_ios stripe_platform_interface]
- flutter_stripe_web 4.6.0 [flutter flutter_web_plugins freezed_annotation stripe_platform_interface js stripe_js]
- google_sign_in 6.2.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- http 1.2.0 [async http_parser meta web]
- image_picker 1.0.7 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows]
- intl 0.18.1 [clock meta path]
- intl_phone_field 3.2.0 [flutter]
- livekit_client 1.5.6 [flutter_web_plugins flutter async collection connectivity_plus cryptography fixnum meta http logging uuid synchronized protobuf flutter_webrtc device_info_plus js platform_detect dart_webrtc sdp_transform]
- logging 1.2.0
- octo_image 2.0.0 [flutter]
- open_file 3.3.2 [flutter ffi]
- path 1.8.3
- path_provider 2.1.2 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- permission_handler 11.2.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_html permission_handler_windows permission_handler_platform_interface]
- pointer_interceptor 0.9.3+7 [flutter]
- provider 6.1.1 [collection flutter nested]
- relative_time 5.0.0 [clock flutter flutter_localizations intl]
- share_plus 7.2.1 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32]
- syncfusion_flutter_calendar 24.1.47 [flutter timezone syncfusion_flutter_core syncfusion_flutter_datepicker intl]
- syncfusion_flutter_datagrid 24.1.47 [flutter syncfusion_flutter_core collection]
- timezone 0.9.2 [path]
- universal_platform 1.0.0+1
- url_launcher 6.2.4 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- wakelock_plus 1.1.4 [flutter flutter_web_plugins meta wakelock_plus_platform_interface win32 dbus package_info_plus js]
- window_manager 0.3.7 [flutter path screen_retriever]
- youtube_player_iframe 5.0.0 [flutter meta webview_flutter webview_flutter_android webview_flutter_wkwebview url_launcher youtube_player_iframe_web]

dev dependencies:
- build_runner 2.4.8 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_lints 3.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math leak_tracker leak_tracker_testing async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph vm_service web]

transitive dependencies:
- _fe_analyzer_shared 66.0.0 [meta]
- _flutterfire_internals 1.3.16 [collection firebase_core firebase_core_platform_interface flutter meta]
- algolia_client_core 0.3.0 [dio]
- algolia_client_insights 0.3.0 [algolia_client_core json_annotation collection]
- algolia_client_search 0.3.0 [algolia_client_core json_annotation collection]
- algolia_insights 0.2.2 [algolia_client_insights collection flutter hive logging meta path_provider rxdart uuid]
- algoliasearch 0.3.0 [algolia_client_core algolia_client_search algolia_client_insights json_annotation collection]
- analyzer 6.4.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.4.10 [crypto path pointycastle]
- args 2.4.2
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.4.1 [analyzer async convert crypto glob logging meta package_config path]
- build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 4.0.1 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.4.2 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml]
- build_runner_core 7.2.11 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.9.0 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 4.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.1.1 [cached_network_image_platform_interface flutter flutter_cache_manager]
- characters 1.3.0
- charcode 1.3.1
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- cli_util 0.4.1 [meta path]
- clock 1.1.1
- cloud_firestore_platform_interface 6.1.0 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.9.0 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.5.11 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.6.11 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.10.0 [built_collection built_value collection matcher meta]
- connectivity_plus 5.0.2 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm]
- connectivity_plus_platform_interface 1.2.4 [flutter meta plugin_platform_interface]
- convert 3.1.1 [typed_data]
- cross_file 0.3.3+8 [meta web]
- cryptography 2.7.0 [collection crypto ffi js meta typed_data]
- csslib 1.0.0 [source_span]
- dart_quill_delta 0.0.1 [collection diff_match_patch quiver]
- dart_style 2.3.4 [analyzer args collection path pub_semver source_span]
- dart_webrtc 1.1.3 [collection js platform_detect webrtc_interface]
- dbus 0.7.10 [args ffi meta xml]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- diff_match_patch 0.4.1
- diffutil_dart 3.0.0
- dio 5.4.0 [async http_parser meta path]
- equatable 2.0.5 [collection meta]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.0
- file 7.0.0 [meta path]
- file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.3+3 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.2 [cross_file flutter http plugin_platform_interface]
- file_selector_windows 0.9.3+1 [cross_file file_selector_platform_interface flutter]
- firebase_analytics_platform_interface 3.9.0 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.5+12 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_app_check_platform_interface 0.1.0+10 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.1.0+10 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 7.0.9 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.8.13 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.10.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.6.16 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_performance_platform_interface 0.1.4+16 [_flutterfire_internals firebase_core flutter plugin_platform_interface]
- firebase_performance_web 0.1.4+16 [_flutterfire_internals firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins js]
- firebase_remote_config_platform_interface 1.4.16 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_remote_config_web 1.4.16 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js]
- firebase_storage_platform_interface 5.1.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.6.17 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.1.0
- flutter_chat_types 3.6.2 [equatable json_annotation meta]
- flutter_colorpicker 1.0.3 [flutter]
- flutter_keyboard_visibility 6.0.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter]
- flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_link_previewer 3.2.2 [flutter flutter_chat_types flutter_linkify html http linkify meta url_launcher]
- flutter_linkify 6.0.0 [flutter linkify]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web]
- flutter_parsed_text 2.2.1 [flutter]
- flutter_plugin_android_lifecycle 2.0.17 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web]
- flutter_webrtc 0.9.47 [collection dart_webrtc flutter path_provider webrtc_interface]
- freezed_annotation 2.4.1 [collection json_annotation meta]
- frontend_server_client 3.2.0 [async path]
- glob 2.1.2 [async collection file path string_scanner]
- google_identity_services_web 0.3.0+2 [meta web]
- google_sign_in_android 6.1.21 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.7.3 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.4.5 [flutter plugin_platform_interface]
- google_sign_in_web 0.12.3+2 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http web]
- graphs 2.3.1 [collection]
- hive 2.2.3 [meta crypto]
- html 0.15.4 [csslib source_span]
- html2md 1.3.1 [html collection]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image 4.1.4 [archive meta xml]
- image_picker_android 0.8.9+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 3.0.2 [flutter flutter_web_plugins image_picker_platform_interface mime]
- image_picker_ios 0.8.9+1 [flutter image_picker_platform_interface]
- image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_platform_interface 2.9.3 [cross_file flutter http plugin_platform_interface]
- image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface]
- io 1.0.4 [meta path string_scanner]
- irondash_engine_context 0.5.1 [flutter plugin_platform_interface]
- irondash_message_channel 0.5.0 [flutter ffi]
- js 0.6.7 [meta]
- json_annotation 4.8.1 [meta]
- leak_tracker 9.0.16 [clock collection meta path vm_service]
- leak_tracker_testing 1.0.5 [leak_tracker matcher]
- linkify 5.0.0
- lints 3.0.0
- markdown 7.2.1 [args meta]
- matcher 0.12.16 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.8.0 [collection]
- meta 1.11.0
- mime 1.0.4
- nested 1.0.0 [flutter]
- nm 0.5.0 [dbus]
- package_config 2.1.0 [path]
- package_info_plus 5.0.1 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface web win32]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- path_provider_android 2.2.2 [flutter path_provider_platform_interface]
- path_provider_foundation 2.3.2 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.2 [flutter platform plugin_platform_interface]
- path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32]
- permission_handler_android 12.0.3 [flutter permission_handler_platform_interface]
- permission_handler_apple 9.3.0 [flutter permission_handler_platform_interface]
- permission_handler_html 0.1.1 [flutter flutter_web_plugins permission_handler_platform_interface]
- permission_handler_platform_interface 4.1.0 [flutter meta plugin_platform_interface]
- permission_handler_windows 0.2.1 [flutter permission_handler_platform_interface]
- petitparser 6.0.2 [meta]
- photo_view 0.14.0 [flutter]
- pixel_snap 0.1.4 [flutter]
- platform 3.1.4
- platform_detect 2.0.11 [meta pub_semver]
- plugin_platform_interface 2.1.8 [meta]
- pointycastle 3.7.4 [collection convert js]
- pool 1.5.1 [async stack_trace]
- protobuf 3.1.0 [collection fixnum meta]
- pub_semver 2.1.4 [collection meta]
- pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.2.1 [matcher]
- rxdart 0.27.7
- screen_retriever 0.1.9 [flutter]
- scroll_to_index 3.0.1 [flutter]
- sdp_transform 0.3.2
- share_plus_platform_interface 3.3.1 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- shelf 1.4.1 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel]
- simple_observable 2.0.0 [meta]
- sky_engine 0.0.99
- source_span 1.10.0 [collection path term_glyph]
- sprintf 7.0.0
- sqflite 2.3.0 [flutter sqflite_common path]
- sqflite_common 2.5.0+2 [synchronized path meta]
- stack_trace 1.11.1 [path]
- stream_channel 2.1.2 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- stripe_android 9.6.0+2 [flutter]
- stripe_ios 9.6.0 [flutter]
- stripe_js 3.3.0 [freezed_annotation js json_annotation meta]
- stripe_platform_interface 9.6.0 [flutter freezed_annotation json_annotation meta plugin_platform_interface]
- super_clipboard 0.8.4 [flutter collection meta super_native_extensions]
- super_native_extensions 0.8.4 [flutter flutter_web_plugins meta ffi collection js path uuid irondash_engine_context irondash_message_channel device_info_plus pixel_snap]
- syncfusion_flutter_core 24.1.47 [vector_math flutter]
- syncfusion_flutter_datepicker 24.1.47 [flutter intl syncfusion_flutter_core]
- synchronized 3.1.0+1
- term_glyph 1.2.1
- test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- timing 1.0.1 [json_annotation]
- typed_data 1.3.2 [collection]
- url_launcher_android 6.2.2 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.2.4 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.1.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.3.1 [flutter plugin_platform_interface]
- url_launcher_web 2.2.3 [flutter flutter_web_plugins url_launcher_platform_interface web]
- url_launcher_windows 3.1.1 [flutter url_launcher_platform_interface]
- uuid 4.3.3 [crypto sprintf meta fixnum]
- vector_math 2.1.4
- visibility_detector 0.4.0+2 [flutter]
- vm_service 13.0.0
- wakelock_plus_platform_interface 1.1.0 [flutter plugin_platform_interface meta]
- watcher 1.1.0 [async path]
- web 0.4.0
- web_socket_channel 2.4.3 [async crypto stream_channel web]
- webrtc_interface 1.1.2
- webview_flutter 4.4.4 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]
- webview_flutter_android 3.13.2 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 2.10.0 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 3.11.0 [flutter path webview_flutter_platform_interface]
- win32 5.2.0 [ffi]
- win32_registry 1.1.2 [ffi win32]
- xdg_directories 1.0.4 [meta path]
- xml 6.5.0 [collection meta petitparser]
- yaml 3.1.2 [collection source_span string_scanner]
- youtube_player_iframe_web 3.0.0 [flutter flutter_web_plugins web webview_flutter_platform_interface]

Thanks for the detailed report and analysis @T-P-F
Maybe you are hitting https://github.com/firebase/flutterfire/issues/11828 that you can check and confirm ?

@darshankawar first off, thanks for all you do for Flutter 🙏🙏🙏
Strange that I didn't find #11828 in all the searching I've done on this topic! But yes, it looks to be the same problem.
I've tried the workaround provided by @drklrd56 and it seems to be working for my case. This approach should either be documented or be ~fixed in the SDK.

Thanks for the feedback and glad to know that the linked issue helped to resolve your case as well @T-P-F

This approach should either be documented or be ~fixed in the SDK.

Once the linked issue gets fixed, you can re-run your scenario as-is to confirm whether the fix also works in your case or not.
Also, please share your findings in that issue so that the team can go through it and track while fixing the issue.
I'll close this in favor of the original issue.


Update Footer.js

pls help me in my project

Sure @kansalabhishek07 Fork the Repository and start Working on it

You have any link of video to understand it completely?
On Thu, 28 Sept 2023, 9:20 pm MEGHADRI KOLEY, @.***>
wrote:

Closed #2
https://github.com/Meghadri-Koley/Online-Arts-Gallery-Management-System/pull/2
.
—
Reply to this email directly, view it on GitHub
https://github.com/Meghadri-Koley/Online-Arts-Gallery-Management-System/pull/2#event-10501302461,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW2R6VEGQBUZBRNFSX4W42TX4WMEJANCNFSM6AAAAAA5EBCA6M
.
You are receiving this because you were mentioned.Message ID:
<Meghadri-Koley/Online-Arts-Gallery-Management-System/pull/2/issue_event/10501302461
@github.com>