AspNet Core 3.1 An item with the same key has already been added

I am experiencing an issue similar to issue #533 while running the Castle.Windsor.Extensions.DependencyInjection v5.1.0-beta001 package. This is only occurring only on startup under load, and seem to be resolved on subsequent requests.
This is the stack trace I am getting form the error
System.ArgumentException: An item with the same key has already been added. Key: ModelBinderFactory / IModelBinderFactory
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Castle.MicroKernel.Lifestyle.Scoped.ScopeCache.set_Item(Object id, Burden value)
   at Castle.Windsor.Extensions.DependencyInjection.Scope.ExtensionContainerScope.GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext context)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.TryResolveCore(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency, Object& value)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>n__0(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>c__DisplayClass4_0.<Resolve>b__0(Action`1 afterCreated)
   at Castle.Windsor.Extensions.DependencyInjection.Scope.ExtensionContainerScope.GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext context)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.TryResolveCore(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency, Object& value)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>n__0(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>c__DisplayClass4_0.<Resolve>b__0(Action`1 afterCreated)
   at Castle.Windsor.Extensions.DependencyInjection.Scope.ExtensionContainerScope.GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext context)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernelByType(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.ResolveFromKernel(CreationContext context, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.TryResolveCore(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency, Object& value)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>n__0(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>c__DisplayClass4_0.<Resolve>b__0(Action`1 afterCreated)
   at Castle.Windsor.Extensions.DependencyInjection.Scope.ExtensionContainerScope.GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext context)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.ResolveAll(Type service, Arguments arguments, IReleasePolicy policy)
   at Castle.MicroKernel.DefaultKernel.ResolveAll(Type service, Arguments arguments)
   at Castle.MicroKernel.Resolvers.SpecializedResolvers.CollectionResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.Windsor.Extensions.DependencyInjection.Resolvers.RegisteredCollectionResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.TryResolveCore(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency, Object& value)
   at Castle.MicroKernel.Resolvers.DefaultDependencyResolver.Resolve(CreationContext context, ISubDependencyResolver contextHandlerResolver, ComponentModel model, DependencyModel dependency)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.Instantiate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
   at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
   at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>n__0(CreationContext context, Boolean trackedExternally)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.<>c__DisplayClass4_0.<Resolve>b__0(Action`1 afterCreated)
   at Castle.Windsor.Extensions.DependencyInjection.Scope.ExtensionContainerScope.GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext context)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, Arguments arguments, IReleasePolicy policy, Boolean ignoreParentContext)
   at Castle.MicroKernel.DefaultKernel.Resolve(Type service, Arguments arguments)
   at Castle.Windsor.WindsorContainer.Resolve(Type service)
   at Castle.Windsor.Extensions.DependencyInjection.WindsorScopedServiceProvider.ResolveInstanceOrNull(Type serviceType, Boolean isOptional)
   at Castle.Windsor.Extensions.DependencyInjection.WindsorScopedServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at Microsoft.AspNetCore.Mvc.Routing.ActionEndpointFactory.<>c__DisplayClass7_0.<CreateRequestDelegate>b__0(HttpContext context)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Here is how I am registering Castle Windsor
public void ConfigureContainer(IWindsorContainer container)
{
    container.Kernel.Resolver.AddSubResolver(new CollectionResolver(container.Kernel, true));
    container.AddFacility<TypedFactoryFacility>();
    var location = AppContext.BaseDirectory;
    container.Install(
        FromAssembly.InDirectory(
            new AssemblyFilter(location)
                .FilterByName(a => a.Name.StartsWith("MyProject"))
            )
    );
}

For my service registrations I am using IWindsorInstaller, and .LifeStyle.ScopedToNetServiceScope() when I want a per-web-request lifestyle

we copied this code to give it a try and make some adjustments and tests for getting a better net core experience.
we faced the same issue and ending up exchanging the ScopeCache with a self implemented ConcurrentScopeCache. the code is as follows:
internal class ExtensionContainerScope : ILifetimeScope
	{
		public static ExtensionContainerScope Current => current.Value;
		public static string TransientMarker = "Transient";

        protected static readonly AsyncLocal<ExtensionContainerScope> current = new AsyncLocal<ExtensionContainerScope>();

        private readonly ExtensionContainerScope parent;
		private readonly IScopeCache scopeCache;

		protected ExtensionContainerScope(ExtensionContainerScope parent)
        {
            scopeCache = new ConcurrentScopeCache();
            this.parent = parent ?? ExtensionContainerRootScope.RootScope;
        }

		public static ExtensionContainerScope BeginScope(ExtensionContainerScope parent)
		{
			var scope = new ExtensionContainerScope(parent);
			current.Value = scope;
			return scope;
		}

		public void Dispose()
		{
            if (scopeCache is IDisposable disposableCache)
			{
				disposableCache.Dispose();
			}

			current.Value = parent;
		}

		public Burden GetCachedInstance(ComponentModel model, ScopedInstanceActivationCallback createInstance)
		{
			if(model.Configuration.Attributes.Get(TransientMarker) == Boolean.TrueString )
			{
				var burden = createInstance(_ => {});
				scopeCache[burden] = burden;
				return burden;
			}
			else
			{
				var burden = scopeCache[model];
				if (burden is null)
				{
					scopeCache[model] = burden = createInstance(_ => {});
				}

				return burden;
			}
		}

		/// <summary>
		/// Forces a specific <see name="ExtensionContainerScope" /> for 'using' block. In .NET scope is tied to an instance of <see name="System.IServiceProvider" /> not a thread or async context
		/// </summary>
		internal class ForcedScope : IDisposable
		{
			private readonly ExtensionContainerScope previousScope;
			public ForcedScope(ExtensionContainerScope scope)
			{
				previousScope = ExtensionContainerScope.Current;
				ExtensionContainerScope.current.Value = scope;
			}
			public void Dispose()
			{
				ExtensionContainerScope.current.Value = previousScope;
			}
		}
	}

if i find the time to think me into it again i could create a PR, or maybe someone could with this code.
from our experience this seems safe :) feel free to use/integrate it or modify it. we are glad when we can use the release 5.1.0 of windsor and dump our test code ;)
greetings + thanks for the work :)

I am experiencing an issue similar to issue #533 while running the Castle.Windsor.Extensions.DependencyInjection v5.1.0-beta001 package

From a brief look this appears to be the same as #533, not similar.

Hi.
I am confused. Do we have an issue?
@chrisheil can you make a small demo project with the issue?

@generik0 i cannot say safely because we're using the class i mentioned above, at the moment i do not have the time to make a sample or unit test project, maybe next week, but in the code file
https://github.com/castleproject/Windsor/blob/35ebd6e5a77de289536b3862f366d6cbfad19ecc/src/Castle.Windsor/MicroKernel/Lifestyle/Scoped/ScopeCache.cs#L26
there is a comment that indicates that this might still be an issue.
like i said we changed some things with our copy of the code and this specific class ConcurrentScopeCache did not make any problems in our tests and deployments of the code.
if you guys have the time to wait i'll try to make a test case / sample to reproduce this and will thest with the current pre release nuget packages if the error is still present, but i sadly dont have that time right now...
greetings

Hi @stylefish
I committed a lock on the scope caching for the Netcore integration a while ago. The issue should be fixed.
I thought @jonorossi triggered a build with these changes.
Please, yes, make a demo of your specific issue next week, and I will also check your issue against the current implementation.
You don't need to make the demo complex, just a app that starts up with the exceptions.
I have time next week to help..

Hi @generik0
i saw that, i think the issue will be fixed by your PR, we did basically the same but did it in the scope cache class, not in the "ExtensionContainerScope".
i just thought when this issue gets posted again maybe its not fixed (or the nuget packages are not up to date?).
anyhow: i will try it with our complete project, happened there every start.
i will use the current nuget prerelease packages and report back when i find the time.
thanks :)

@generik0 Here is a test project I created for this. I am starting the asp.net site using a console, then running the test runner to hit it 100 times in a row to reproduce the error
I may just not understand the release process and this could have been fixed already. I saw issue 533 had been resolved and merged into master on Sept 15 in commit d3c18a06844c98fd7e98f833c3b782c833323e40, and assumed this beta would have the latest code. Looking at the history for the tag v5.1.0-beta001 I only see commits through June.
Sorry for the confusion. When will this update be included in the 5.1.0 beta?

@jonorossi can you trigger a new beta build and Nuget deploy so we can ensure everything = good, and no issue?

@generik0 seems overkill to make a beta2 release, every master build is available in the NuGet preview feed.

@chrisheil @generik0 I downloaded the test project and updated to the latest preview release from appveyor, and this issue goes away. So I think its safe to say the issue has already been addressed, and we can close this issue.

Thanks heaps @robertcoltheart. With that known, closing as duplicate.


Game-specific Affinity Profiles

Different games may have different Process Affinity characteristics that work best for them, with some games requiring more than 6 cores to perform well (there are CPUs like the 3950X that have a single cache cluster of 4 cores but an overall core count of 16 cores), and some games perform better without SMT threads.
Need to make it possible to set affinity rules on a per-game basis to cover more cases.

Goal: Improve the program to handle the following scenarios

Some games need to be able to obtain computing resources even when they are in the background. For example, simulation games where the user may not be looking at the game window during the production process.
Depending on the system, a game may need to occupy multiple cache clusters instead of just one. This is the case when a cache-sensitive game is simultaneously multi-threaded. For example, on a Ryzen 9 3950X, a game can occupy 12 cores and a background process can occupy 4 cores. Currently, on the Ryzen 9 3950X, games only occupy 4 cores, so the games that can see a performance boost are more limited.
On some systems, tuning for priority rather than affinity is more important, especially on systems with fewer cores.
Some games are more clock-sensitive than cache-sensitive, so placing them on higher clocked cores may provide a larger performance gain. In this case, you can place the game on CCD1 and the background process on CCD0.
Some games will benefit more from not utilizing the 'logical processor'.


latexmk with lualatex

There is a way to use latexmk with -pdflua switch with shortcut SPC m c ?
Thanks

You should just set TeX-engine to luatex in your LaTeX buffer. This is a buffer-local variable, so you need to:

set it in the LaTeX buffer by SPC ; then type (setq TeX-engine 'luatex) RET.
or set it in your .dir-locals SPC b v d, type LaTeX-mode RET, then TeX-engine RET and type 'luatex RET and save the created .dir-locals file.
or if you want TeX-engine to be luatex by default, add this to your config.el:

(with-eval-after-load 'tex
  (setq-default TeX-engine 'luatex))


Repair prerendered HTML build

The prerendered HTML build was broken because

html-minifier-terser is now asynchronous
we must not access window during SSR

i still get TypeError: minify(...).then is not a function, can you specify the required node version for the build please?

Did you install latest dependencies? I do not see how the node version would have an impact here.


Testing CI (Ignore please)

Just ensuring CI testing is working correctly, please ignore!

@mbed-bot: TEST
HOST_OSES=ALL
BUILD_TOOLCHAINS=GCC_ARM
TARGETS=K64F


Prepare 8.1.0 release

8.1.0
New Features

Add variant support for danger outline buttons. (#383)

Bug Fixes

Improve consistency with USWDS disabled buttons styles. (#383)

USWDS v3.5.0 removed .usa-button--disabled styling in favor of [aria-disabled="true"]. This wasn't documented as a breaking change, and it's expected the any .usa-button--disabled usage would not be stylized correctly since those changes. You should replace any usage of usa-button--disabled with either the [disabled] or [aria-disabled="true"] attributes.

Internal

The package is now distributed using native ES Modules as the default output. This should not impact downstream CommonJS projects, as a CommonJS distributable is still included for now. (#395)

Published to NPM: https://www.npmjs.com/package/@18f/identity-design-system
Tagged and released: https://github.com/18F/identity-design-system/releases/tag/v8.1.0


Support SQLAlchemy 2.0

Is your feature request related to a problem? Please describe.
SQLAlchemy is just released at 1/26. PipeRider should support the latest version
Describe the solution you'd like
Describe alternatives you've considered
Additional context
https://www.sqlalchemy.org/blog/2023/01/26/sqlalchemy-2.0.0-released/

Available in v0.22.0


Compatibility with AWS SAM (Serverless Application Model)

In the interest of following a more 'official' path should we get it working with this under the hood? https://github.com/awslabs/serverless-application-model
Announcement blog: https://aws.amazon.com/blogs/aws/new-for-aws-lambda-environment-variables-and-serverless-application-model/

Answering myself (on purpose): it's too early, that's still in awslabs phase.

@avish-3pg You may want to open a new ticket - I do not have a compelling user story here, but perhaps you do :-)


ManifestMissing error should report which manifest ID is missing

As suggested here, it is useful if the ManifestMissing error  reported which ID exactly could not be found.

@criccomini Happy to pick this up if you assign to me.

@hachikuji done!


Revert access keys changes temporarily to allow a nearlib version

which fixeses a few nearmint side effects but does not require new wallet
yet

Turned out access keys already work well enough after fixing infinite redirect bug http://wallet.nearprotocol.com


chore: fix wrong links for v2 migration guide

Description
This PR fixes wrong links used in the v2 -> v3 migration guide.

/rtm


Admin - Improve Authentication

Description
Currently, the app's main auth uses form POST. There are also various corner cases in the different portals which could use consolidation to improve support and ongoing development. In order to move toward a more API focused approach, this spike will research using JWT and OpenID connect, by looking at mainstream solutions, determining where in the current app improvements and enhancements can be made, and creating an implementation plan.
Spike results
JWT approach: https://github.com/tymondesigns/jwt-auth
OpenID Connect: https://github.com/jumbojett/OpenID-Connect-PHP

[ ] This task requires a unit test.
[ ] This task is complex and needs acceptance criteria.

Any sense after the spike in what the net benefit of this is?

Improved security.
We have two options for moving forward, but the spike to research where improvements can be made on TalentCloud has not been done yet, as far as I know.

Chris says he could look into Laraval's default auth (Laraval passport).


add serialize and vec fix in libra & hyrax

rust stable version from 1.48 -> 1.49, and will fix it.

rust stable version from 1.48 -> 1.49, and will fix it.

Fixed in dev.


add --step option to migrate:fresh command

This PR adds the --step option to the migrate:fresh command and passes it to the migrate command.
I tried to run migrate:fresh --seed --step, and then test if i could individually run back the migrations. But trying that throws a The "--step" option does not exist. error.

This doesnt really make any sense. The whole point of migrate:fresh is to wipe everything and rebuild from scratch.
If you want a stepable migration during development just use migrate?

I tried to refresh and seed my (already migrated) database with --step enabled so i could do some manual testing. The --step option is available for the migrate command, so i expected it to be available for the migrate:fresh command too. Since my database was already migrated the only way to achieve this is to manually drop all tables, then run migrate --step --seed. It would make more sense to me if i could just run migrate:fresh --seed --step.

No plans on adding this for now.


dependeny mergo location error

Mergo modified the location of their warehouse and did not modify the corresponding location in client go, resulting in dependency errors.

client-go v0.31.0 uses v0.3.6 of the mergo library - https://github.com/kubernetes/client-go/blob/v0.31.0/go.mod#L17
It is not compatible with the v1.0.1 tag
You can downgrade the mergo library to v0.3.6, or wait for v0.32.0 of the client-go library which will drop the mergo dependency entirely
/close


Notebook ruGPT3XL_generation.ipynb doesn't work, because of cuda 11.1

While running cell with:
!sh setup.sh
Output:
RuntimeError: Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries.  Pytorch binaries were compiled with Cuda 11.0.
Cuda is 11.1

Add fixes for last updates on colab for rugpt3xl

@king-menin That's great! Thanks a lot!


Next and Skip not visible

I am using enjoyhint in a .NET environment. I am able to run basic examples with hints showing, however next and skip buttons are missing. Anyone know what the issue could be?
When I press f12 tab, the style for nextbutton and skip button is missing. However, it's there in the css file.

Im facing this issue too, using Jquery 1.8
i have an invisible and classless next and skip button that stays on top of the page.

I have this problem with JQuery 1.8 ...
anyone know how to solve it?


Can't use base classes as parameters

Bug Report
🔎 Search Terms
jsdoc
class
parameter
validation
🕗 Version & Regression Information
I ran into this in VSCode 1.75.1. I don't know what version of TypeScript that corresponds to.
⏯ Playground Link
Playground link with relevant code
💻 Code

/**
 * This will oddly cause a problem when used.
 */
function test(klass: typeof Function) {}

test(class Example1 {});

🙁 Actual behavior
Compiler Errors
Argument of type 'typeof Example1' is not assignable to parameter of type 'FunctionConstructor'.
Types of property 'prototype' are incompatible.
Type 'Example1' is missing the following properties from type 'Function': apply, call, bind, prototype, and 5 more.
Example 1 has every one of the properties of Function as that is the super class of every class by default. So the error makes no sense.
🙂 Expected behavior
This should not give any error at all and simply work.

All classes are Function, but not typeof Function, which is the type of the Function constructor itself.  In other words it's the type you get for x if you write const x = Function;  No class is a subclass of that.

That's problematic. So what's the correct way to say you're expecting klass to be a constructor function? I thought that was the purpose of typeof.

No, the purpose of typeof is to get the type of an identifier in scope.  So typeof x would give you the type of the local variable x.  It’s not specifically the “class constructor” operator.
You can just use Function in this case.

That doesn't work. If test is defined as such:
function test(klass: typeof Function) {
   new klass();
}

test(class Example1 {});

... then I get:

Compiler Errors
This expression is not constructable.
Type 'Function' has no construct signatures.

What I want is to be able to pass in an instantiate-able function. There doesn't seem to be a way to do this that I can find.

function test<T>(klass: new () => T): T {
   return new klass();
}

test(class Example1 {});

Ok. I get it. It's just far more cumbersome than I would have liked, but it's there.
Thanks for the help.

Alternatively, you could use new () => any, but I wouldn't recommend that.  That's why I wrote a generic version.


[OPPRO-46] Support Parquet Read

Parsed and stored the file format in SubstraitVeloxPlanConverter and then created the corresponding Split according to the specified file format.

@rui-mo

LGTM.


Deploy MCCP into dev with sqlite and using a shared cluster repo deploy in staging with external DB

Short description
As a SRE I need to deploy the existing MCCP cluster observability tools with sqlite in dev and postgres in UAT so that the UAT environment data lives longer
Given two kind clusters (dev and UAT) with Weave GitOps installed
And the Helm Chart for the MCCP cluster observability tools is in a git repository
And there are two Values.yaml files in distinct directories within the git repository
And the values file for dev defines the db as sqlite
And the values file for UAT defines the db as postgreSQL
When I wego app add the Helm Chart to each cluster
And the paths for the apps point to the distinct directories
Then the MCCP tools are deployed to the dev cluster using sqlite
And the MCCP tools are deployed to the UAT cluster using postgreSQL

Requires a helm chart that can install MCCP.

@katya-makarevich how do we want to handle dependencies across Zenhub/Jira?

@markramm for the moment we can do it only manually. I'll talk with the Pesto team about this dependency tomorrow

@markramm for the moment we can do it only manually. I'll talk with the Pesto team about this dependency tomorrow

I would like to close this as out-of-scope for Weave GitOps Core.

Out of scope for core, but not out of scope for weave gitops teams or enterprise.


Registry entry not present: create_enchantment_industry:hyper_experience_orb

Hi,
I'm getting a crash with my modpack, and I hover over the engineer's goggles from Create.
Here's the crash report from my modpack: https://pastebin.com/bmqRXkTF
If any info is needed please let me know.

Sorry! Please disregard this. I failed to notice that the version I had on my server was different from the one on my client. 😅
I will close the issue.


Add potion-dose-overlay plugin definition

This plugin adds an overlay to potion-type items showing the number of does left.

I created this as I sometimes have a hardtime determining if a potion is 4 or 3 dose.

how is this different from the existing "item charges" plugin?

This already exists as core plugin. https://github.com/runelite/runelite/wiki/Item-Charges#show-potion-doses

how is this different from the existing "item charges" plugin?

Ha, I didn't know this was a thing. I looked into it, and yeah it essentially does the same thing.
Oh well, good excuse to learn how to make a plugin at least.


Gitlab: label scoping is inaccurate

For the following job definition, several keys are scoped as entity.name.label but there is no reason for them to be.
.npm-test:
  extends: .npm-test-job
  artifacts:
    when: always
    reports:
      junit: "**/reports/**/*.xml"
    paths:
      - coverage
      - reports
  script:
    - npm run test

I suppose the intention was to highlight & index job names, i.e. .npm-test, which are always top-level keys for Gitlab pipelines. The may also start with a period to indicate them not being used by default but still extendable (using extends), which is currently not matched.

Thanks for reporting. Yeah, that was my bad, made a "quick fix" noticing job names can have spaces in them and didn't check the syntax test file afterwards/before pushing... Sorry!
Fixed in https://github.com/SublimeText/YamlPipelines/commit/6c7f1522a57e2660f90fa7b2e7ec0fdddefb36ec


Allow passing coordinates in to_zarr(region=...) rather than passing indexes

Is your feature request related to a problem?
If I want to write to a region of data in a zarr, I usually have some boilerplate code like this:
ds_existing = xr.open_zarr(path)
ds_new = xr.Dataset(...) # come up with some new data for a subset region of the existing zarr
start_idx = (ds_existing.time == ds_new.time[0]).argmax()
end_idx = (ds_existing.time == ds_new.time[-1]).argmax()
ds_new.to_zarr(path, region={"time": slice(start_idx, end_idx})

Describe the solution you'd like
It would be nice to automate this within to_zarr, because having to drop into index-space always feels un-xarray-like to me.
There may be pitfalls I'm not thinking of, and I don't know exactly what the API would look like.
ds_new.to_zarr(path, region={"time": "auto"}) # ???

Describe alternatives you've considered
No response
Additional context
No response

to use the "xarray.Dataset.sel()" method to select the region of interest, then write the selected subset to the zarr store using "to_zarr()".
ds_existing = xr.open_zarr(path)
ds_new = xr.Dataset(...) # come up with some new data for a subset region of the existing zarr
ds_region = ds_existing.sel(time=slice(ds_new.time[0], ds_new.time[-1]))
ds_region.update(ds_new)  # update ds_region with new data
ds_region.to_zarr(path)

Noting that this feature was recently requested on Stack Overflow. https://stackoverflow.com/questions/76738086/how-to-store-a-subset-of-xaray-data-into-zarr

Could pass DataArrays in the region kwarg
ds_new.to_zarr(path, region={"time": ds_new.time})


Remove Device Virtuell Hue Bridge?

Hello Erik,
after the Virtual Hue Bridge created by your plugin has no function in Homekit, can you tell me  it is possible to completely remove the virtual device Hue Bridge in Homekit?

Thank You!
Greeting Nastra

No, it's not, as it does have a function.  See #76.

Alright, thanks for the very fast feedback!


reformatted code, documentation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi, thank you for the PR! I'll look this over next week 🤞

Hi, thank you for opening this PR. I appreciate the time that went into it.
We autoformat our code with Black and the formatting changes to Python code in this PR would be overriden by the next run of Black as they're in a different style.
The other changes in here (e.g. switching * in markdown to -) don't align with a specific policy we have.
Therefore, I'm closing this PR. Feel free to let me know if I'm overlooking the rationale for this.


Shifted All Frontend Validations To Backend

Shifting The Validations

Shifted most of the frontend validations to backend.
Kept some validations in frontend which were absolutely necessary and not to put too much load on server.
Also added tests in backend to test formats of email, USN etc.

Changes Done

PBCTF form logic have been shifted to backend.
PBCTF form was added with some uniqueness checks in backend.
PBCTF form had DB calls and Logic in frontend which have been shifted to backend for increased security.

@shreyas-omkar is this PR ready to be reviewed?

Yes sir. 🫡

Hello @SkySingh04 Bhaiya, Merge Conflicts are Resolved


For Mentor Review | output-and-error-handling| Chidimma Ofodum

Learners, PR Template
Self checklist

[ ] I have titled my PR with For Mentor Review | {Project Name} | {My Name}
[ ] I have included a list of changes
[ ] I have tested my changes
[ ] I have explained my changes
[ ] I have asked someone to review my changes

Description
This project is about learning the concept of error handling and exit codes.
Change list

Created a go module in root directory
Created a httpClient to send requests to server
Handled server response with status code of 429 (retries, quitting, communicating error / progress messages to users)

@mentions, #links
NA

moving to my fork


ebiten: enable to treat directories well at AppendDroppedFiles

Operating System

[X] Windows
[X] macOS
[X] Linux
[X] FreeBSD
[X] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[X] Web Browsers

What feature would you like to be added?
AppendDroppedFiles treats fs.File, but it is now impossible to treat directories, like listing files. Probaby we should give up fs.File?
Why is this needed?
No response

Let's implement fs.ReadDirFile if the entry is a directory.

In order to get a directory contents, this would not be enough... 🤔

Another idea:
func AppendDroppedFiles(filenames []strings) []string

func DroppedFileSystem() fs.FS // A regular file system on desktops, or a special file system on browsers


Doesn't work on Windows (tested with Air96)

2023-08-13T21:16:57.963Z INFO  [sinowealth_kb_tool::isp] Found Device. Entering ISP mode...
2023-08-13T21:16:57.965Z INFO  [sinowealth_kb_tool::isp] Waiting for bootloader device...
2023-08-13T21:16:58.993Z INFO  [sinowealth_kb_tool::isp] Device didn't come up...
2023-08-13T21:16:58.993Z INFO  [sinowealth_kb_tool::isp] Retrying... Attempt 2/10
2023-08-13T21:16:59.016Z INFO  [sinowealth_kb_tool::isp] Found Device. Entering ISP mode...
2023-08-13T21:16:59.016Z INFO  [sinowealth_kb_tool::isp] Waiting for bootloader device...
2023-08-13T21:17:00.035Z INFO  [sinowealth_kb_tool::isp] Device didn't come up...
2023-08-13T21:17:00.035Z INFO  [sinowealth_kb_tool::isp] Retrying... Attempt 3/10
[and so on...]

When I use my tool to set it to ISP mode:
2023-08-13T21:17:33.342Z INFO  [sinowealth_kb_tool::isp] No KB found. Trying bootloader directly...
2023-08-13T21:17:33.389Z INFO  [sinowealth_kb_tool::isp] Connected!
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidParam', src/isp.rs:169:55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is a Python version of the system from Nudelta to find the "channels" to communicate with the keyboard, in this case configured to set the device into ISP mode: https://gist.github.com/WinkelCode/e4e16dfed3ce6f146b5dcfad2943ff72
Original sources here: https://github.com/donn/nudelta/blob/main/lib/nuphy.cpp#L169

@WinkelCode thanks for the report ✌, I'll check this and see what needs to be fixed a bit later.

This should be resolved now that https://github.com/carlossless/sinowealth-kb-tool/pull/10 is merged and v0.0.3 released.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 213a523, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 8155 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in 2638656.


added fixes for karate issue id 2052 for cookie as null

Description
This following PR contains the fixes for the scenario as mentioned in below relevant issues,

Relevant Issues :  Throw Null Pointer Error when the name of cookies is null. #2052
Relevant PRs : (optional)
Type of change :

[ ] New feature - NA
[x] Bug fix for existing feature - YES
[ ] Code quality improvement - NA
[ ] Addition or Improvement of tests - NA
[ ] Addition or Improvement of documentation - NA

thanks !


Segmentation fault (core dumped)

Hi,
I has read your blogs about the RL and like it very much.
When I tried to run the A3C-Doom, I came across the  Segmentation fault (core dumped) error after the terminal output starting workers .
My computer has 32G memory,and two E5 CPUs.
The error troubles me a lot and I wounder if you can give me some advice.
Thanks.

I'm sorry you are having that issue. Can you give me the exact error output that is related to the segmentation fault?

@awjuliani Thank you for your reply. What is strange is that when I run the code in my virtual machine, everything goes well. And running in the E5 computer, segmentation fault (core dumped) error happened again. Maybe I need to check my computer first.
BTW, I think using the .cfg file in the code is more concise and easy to compare with other's work.
Thanks again.

@nanxintin are you resolve this problem ？ i meet the same error, can you help me ? best congratulate for you

@reaIws I just change a machine and run the code successfully. To be honest, I didn't figure out this error.

@nanxintin oh,thanks for you ,i get some replay from here(https://github.com/mwydmuch/ViZDoom/issues/271)


[FEATURE] Find Only non-repeated element in a list using Bit Manipulation

Detailed description
Hey , I want to add detailed documentation , code of finding only Non-repeating elements using Bit Manipulation.
The Lanugauge I will use for solving this issue will be C++.
Context
Its an important interview question that finding only Non-repeating elements in list, In that mostly guys answer using some O(n^2) loops , but there if you answer with using Bit-manipulation then it will be eye catching and also better in case of Time complexity also .
Possible implementation
XOR operation will be used here
Additional information
Please assign me ASAP... I want to work on it.

@mishraabhinn @Panquesito7  hello Sir,please assign this to me

Done @Mrjoy832

Can I contribute here by providing solution?

Can I contribute here by providing solution?

Hey @kkartik07 I will be adding on this..please don't steal this issue from me buddy😢

Hii sir, pls assign this to me.

Hello, Can you please assign this issue to me?
Thanks in advance :)

Aleready someone is working on this. Thanks for showing intrest in collaboration. Connect with us on discord and gitter.
Abhinn Mishra


Add Hyperfine to deps make target

Description
Missed the make target.

Codecov Report

Merging #292 (8163521) into main (5338090) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #292      +/-   ##
==========================================
- Coverage   96.29%   96.28%   -0.02%
==========================================
  Files          24       24
  Lines        7905     7908       +3
==========================================
+ Hits         7612     7614       +2
- Misses        293      294       +1

Impacted Files
Coverage Δ

src/cairo_run.rs
85.45% <0.00%> (-0.53%)
:arrow_down:

Continue to review full report at Codecov.

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


Generate random missions completed

first-timers-only
This issue is tagged :octocat: first-timers-only. It is only for people who have never contributed to open source before, and are looking for an easy way take their first steps.
Consider this your chance to dip your toe into the world of open-source, and get some bragging rights for writing code that makes drones fly, lets cars find charging stations, helps people and goods get from place to place, and more.
Find more first-timers-only issues here:

Missions
Mission Control
Captain

Thank you for your help :heart:
What is this project?
DAV (Decentralized Autonomous Vehicles) is a new foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.
As an organization that believes in building a large community of open-source contributors, we often create issues like this one to help people take their first few steps into the world of open source.
Mission Control
The DAV project you are looking at is Mission Control. It is the brain in charge of orchestrating missions between DAV users and autonomous vehicles.
How you can help
Background
To help developers building on top of DAV technologies, Mission Control can start in a simulation environment. In a simulation environment, there are always a few simulated drones flying around the user, ready to take on missions. This makes it easy for developers to start building and testing without investing in hardware.
The Issue
When creating a new simulated drone, it needs to have a history of missions completed.
Currently, the method that generates this history always returns the same value.
    missionsCompleted: 27,
    missionsCompleted7Days: 4
  };

The function randomMissionsCompleted() inside /server/simulation/random.js needs to be updated to
create random new values on each run. The missionsCompleted should be a random integer between 4 and 90. missionsCompleted7Days should be a smaller number and can be a square root of missionsCompleted rounded down. Feel free to implement your own logic.
To test your function, follow the instructions in Contributing to Mission Control, and after you write your code visit http://localhost:8888/status.
Contributing to Mission Control

[ ] Fork the repository from the Mission Control GitHub page.
[ ] Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/missioncontrol.git
[ ] Make sure you have node.js and npm installed on your machine. You can use this guide for help.
[ ] Install all of the project's dependencies with npm. $ cd missioncontrol; npm install
[ ] Run gulp watch:js to start a local server and watch your local code for changes. The server will restart automatically every time you change the code.
[ ] Code! code! code!
[ ] Before committing your code, run gulp one last time and make sure no errors (including linting errors) are thrown.
[ ] Once you've made sure all your changes work correctly, and committed all your changes, push your local changes back to github with $ git push -u origin master
[ ] Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missioncontrol) and create a pull request for your changes.
[ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #26)

Thanks for your work @malltshik  and congratulations on your first open source contribution. 🎉 🎊
Hope to see you contributing more to opensource. 🍾
Feel free to join our gitter channel.


autoReveal bug

VSCode Version: 1.31.0 (1.31.0)
OS Version: macOS Mojave 10.14.2 (18C54)

Steps to Reproduce:

Open any project
Choose any file in the Navigator
Click anywhere in the Navigator, choose another folder in the Navigatior or put a focus to the code

Does this issue occur when all extensions are disabled?: Yes
When explorer.autoReveal is false the current active file is not highlighted in the Navigator which makes keeping track on a file very hard:

But when explorer.autoReveal is true the behaviour is still very strange and illogical. As you see on the video below when you choose different files by clicking on tabs for a few iterations nothing changes in the Navigator. After that the second file becomes highlighted in the Navigator, but the first one doesn't lose the highlighting. So we get two highlighted files at the same time which is very confusing:

Compare with the Atom:

Moreover the Atom filetree behavior is much more correct in general. It doesn't have additional options like explorer.autoReveal, but is still more intuitive. For example, if you select a file in tabs the whole tree doesn't toggle folders and jump to the file, but the file is still highlighted if you manually scroll to it:

Very simple and intuitive behaviour. Hope VS Code will pick up this example of good UX.

@isidorn duplicate/related: https://github.com/Microsoft/vscode/issues/67970


Added modules for custom flows and a fix fixes for deployments.

Signed-off-by: Andre Araujo<EMAIL_ADDRESS>

Is this approved or is there anything pending?

Hey @asdaraujo
cc) @wmudge
Is it possible to make the necessary doc changes so that this PR can be merged - https://github.com/cloudera-labs/cloudera.cloud/pull/62#issuecomment-1315521474?
When running the devel branch of cloudera.exe I'm getting an error from missing the cloudera.cloud.df_customflow module
Thanks,
Jim

Documentation doesn't parse

Fixed the document issue.


Update xyce regression tests README to include information about how to interpret the results

Expected Behavior
Below is a good start - still needs more details.
https://github.com/mabrains/globalfoundries-pdk-libs-gf180mcu_fd_pr/blob/main/models/xyce/testing/README.md
Actual Behavior
https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/blob/main/models/xyce/testing/README.md
Specifications

Version:
Platform:

@FaragElsayed2 We need to review this and update documentation.


How works?

how call the function in my js ?
1- windows.plugin.keepScreenOn();
or only
2- keepScreenOn();?
Thank you in advance

This one worked for me @Matienzo
window.keepScreenOn.KeepScreenOn();
I know its tool old post but it will help others.


moment throws a "Forbidden"

The paths/mapping is allright, only for some reason it gives me a forbidden.
Any help?
(function(global) {
    // map tells the System loader where to look for things
    var map = {
        'app':                        '/plugins/dashboard/assets/@@version@@/app', // 'dist',
        'rxjs':                       '/plugins/dashboard/assets/@@version@@/node_modules/rxjs',
        'angular2-in-memory-web-api': '/plugins/dashboard/assets/@@version@@/node_modules/angular2-in-memory-web-api',
        '@angular':                   '/plugins/dashboard/assets/@@version@@/node_modules/@angular',
        'ng2-charts':                 '/plugins/dashboard/assets/@@version@@/node_modules/ng2-charts',
        'ng2-table':                  '/plugins/dashboard/assets/@@version@@/node_modules/ng2-table',
        'ng2-bootstrap':              '/plugins/dashboard/assets/@@version@@/node_modules/ng2-bootstrap',
        'moment':                     '/plugins/dashboard/assets/@@version@@/node_modules/moment'
    };
    // packages tells the System loader how to load when no filename and/or no extension
    var packages = {
        'app':                        { main: 'main.js',  defaultExtension: 'js' },
        'rxjs':                       { defaultExtension: 'js' },
        'angular2-in-memory-web-api': { defaultExtension: 'js' },
        'ng2-charts':                 { defaultExtension: 'js' },
        'ng2-table':                  { defaultExtension: 'js' },
        'ng2-bootstrap':              { defaultExtension: 'js' },
        'moment':                     { defaultExtension: 'js' }
    };
    var packageNames = [
        '@angular/common',
        '@angular/compiler',
        '@angular/core',
        '@angular/http',
        '@angular/platform-browser',
        '@angular/platform-browser-dynamic',
        '@angular/router',
        '@angular/router-deprecated',
        '@angular/testing',
        '@angular/upgrade'
    ];

    // add package entries for angular packages in the form '@angular/common': { main: 'index.js', defaultExtension: 'js' }
    packageNames.forEach(function(pkgName) {
        packages[pkgName] = { main: 'index.js', defaultExtension: 'js' };
    });
    var config = {
        map: map,
        packages: packages
    };
    System.config(config);
})(this);

zone.min.js:1 GET http://dashboard.dev.prisma-it.com:8888/plugins/dashboard/assets/@@version@@/node_modules/moment/ 403 (Forbidden)n @ zone.min.js:1e.scheduleTask @ zone.min.js:1e.scheduleMacroTask @ zone.min.js:1(anonymous function) @ zone.min.js:1send @ VM43067:3fetchTextFromURL @ system.src.js:1156(anonymous function) @ system.src.js:1739e @ zone.min.js:1(anonymous function) @ system.src.js:1738(anonymous function) @ system.src.js:2764(anonymous function) @ system.src.js:3338(anonymous function) @ system.src.js:3605(anonymous function) @ system.src.js:3990(anonymous function) @ system.src.js:4453(anonymous function) @ system.src.js:4705(anonymous function) @ system.src.js:408e.invoke @ zone.min.js:1e.run @ zone.min.js:1(anonymous function) @ zone.min.js:1e.invokeTask @ zone.min.js:1e.runTask @ zone.min.js:1a @ zone.min.js:1invoke @ zone.min.js:1
(index):178 Error: Error: XHR error (403 Forbidden) loading http://dashboard.dev.prisma-it.com:8888/plugins/dashboard/assets/@@version@@/node_modules/moment
	    at XMLHttpRequest.t [as _onreadystatechange] (http://dashboard.dev.prisma-it.com:8888/assets/@@version@@/zone.js/dist/zone.min.js:1:11989)
	    at e.invokeTask (http://dashboard.dev.prisma-it.com:8888/assets/@@version@@/zone.js/dist/zone.min.js:1:7846)
	    at e.runTask (http://dashboard.dev.prisma-it.com:8888/assets/@@version@@/zone.js/dist/zone.min.js:1:5204)
	    at XMLHttpRequest.invoke (http://dashboard.dev.prisma-it.com:8888/assets/@@version@@/zone.js/dist/zone.min.js:1:8955)
	Error loading http://dashboard.dev.prisma-it.com:8888/plugins/dashboard/assets/@@version@@/node_modules/moment as "moment" from http://dashboard.dev.prisma-it.com:8888/plugins/dashboard/assets/@@version@@/node_modules/ng2-bootstrap/components/datepicker/date-formatter.js

Additional info; I use moment as a stand alone as well like this
/*
 * Import Custom Components
 */
import * as moment from 'moment/moment';

// under systemjs, moment is actually exported as the default export, so we account for that
const momentConstructor: (value?: any) => moment.Moment = (<any>moment).default || moment;

which works perfectly fine. however it is not working in the datepicker.

Fixed it. it could not find moment.js since there is a package.js file available as well when installing it with npm.
'moment':                     { main: 'moment.js', defaultExtension: 'js' }

in my mapping object solved it.

What's the best way to drop the date components, which I don't need, of ng2-bootstrap so I can avoid having to work out how to reference moment.js- see: https://github.com/mgechev/angular2-seed/issues/468

don't use datepicker :)

Thanks @alfakappa, I wasn't, but the angular2-seed build script still wanted dependencies for datepicker....so I've just run through ng2-bootstrap and deleted/commented out all references to datepicker - I'll have to do it all again next time I update but it'll be less than the time I've wasted on trying to sort this moment problem. Thanks again.


Show log output in the output window after test execution

First of all I find this plugin very helpful and it works fine for me so far. I work with "Active-HDL Lattice Edition <IP_ADDRESS>67" and "vunit-hdl 4.4.0".
I'm working with the logging function of VUnit and find it very difficult to look at the generated log output, because I have to open the file "output.txt" and look for the log output (between many other outputs).
From the "Python Test Explorer" I'm used to see the log output of each test case directly in the "Output" window of VSCode when the test is executed. This is a feature which would be very helpful in this plugin as well.

Output is sent to the VUnit output window (see image in the readme) but run.py is not run with the --verbose option. If you want the full log printed to the output window you can add --verbose to the vunit.options setting.

Thank you. The --verbose option helps me to see the log output.
A feature which would be very helpful is, if a click on an executed testcase directly opens the VUnit output window and jumps to the log output of the selected testcase. Currently, when I run many test cases, I have to scroll through the whole list to see the output of the test case I am looking for.
Furthermore, it would be great if the output could be in color, like when I run the test manually from the terminal.

Not sure if the output window supports color, I will have to look into that. I have also considered to run the test cases in a terminal instead of an output window.

Is this issue currently being worked on? Seems like a long time since it was last worked on. Was a good idea to add some color


refactor: use clientConfig ethUrl for evmSlotValue and ozVotesStorageProof

Summary
Predefined mapping was used initially, but as each networkConfig will have each own ethUrl we can use it as well (Starknet Goerli will be mapped to Ethereum goerli etc.).
How to test

Update VITE_INFURA_API_KEY.
Go to http://localhost:8080/#/sn:0x05702362b68a350c1cae8f2a529d74fdbb502369ddcebfadac7e91da37636947/proposals
See that it uses updated API key for Infura calls.

@Sekhmet Thanks! Can we make it so we can add a full node URL so it doesn't depend on Infura or specific provider?

Thanks! Can we make it so we can add a full node URL so it doesn't depend on Infura or specific provider?

We already use API key for starknet RPCs - we didn't end up with just URLs because we would have to have 3 environment variables (now it would be six -> double for each Starknet network). I can change it though if we want, will just be more annoying to handle all of those.


New Feature: OPENLINEAGE_LOGLEVEL to override default log level of Openlineage via env. variable / config

Currently, there is no global setting to adjust log levels of OpenLineage in the scope of its package, and because of that, debugging openlineage can be a bit annoying. For example, if we are to log debug messages in OpenLineage, which may be running as part of Apache Airflow, it would generate all the debug messages in Airflow as well, and thus make the troubleshooting part having many unnecessary log messages.
Therefore, I'd like to propose a simple feature for OpenLineage, that it will accept log level coming from the environment variable OPENLINEAGE_LOGLEVEL and set the logger's default log level accordingly. For example, having env. variable OPENLINEAGE_LOGLEVEL=debug will switch the default logging of all OpenLineage's loggers with debug level.
This configuration could also be inside openlineage.yaml configuration file, so that levels can be adjusted through it.

@howardyoo at least for Airflow, this could be configured by your log_config.py file like in the tests - https://github.com/OpenLineage/OpenLineage/blob/main/integration/airflow/tests/integration/tests/airflow/config/log_config.py#L93

My idea is that we should have logger configuration infrastructure in openlineage-python - with overrides if processing engine sets this themselves like Airflow - and integrations should get local loggers using that infra.
Not yet sure how that would look in Java, since it's logging APIs are more diverse.

My idea is that we should have logger configuration infrastructure in openlineage-python - with overrides if processing engine sets this themselves like Airflow - and integrations should get local loggers using that infra.
Not yet sure how that would look in Java, since it's logging APIs are more diverse.

Yes! that approach would work. Yeah. I am also not completely sure about java side, but perhaps we could introduce an abstract logging layer that could hide the end logger implementation - and make it pluggable for users to use slf4j, log4j, etc...
The things for this logger configuration infrastructure that would be great to have is..:

configuration can be made via env. variables - I believe this is important, esp. nowdays, where many applications are containerized and provides env. variable based configs.
Have adequate amount of documentation, if the process is not straightforward or easily understood by not so technical developers - so that they could learn how to use it

The problem with 1) is that we have different loglevel for different messages - if we don't have control over general log level, the only thing we can do is "flatten" the log level to the one that passes... and that would be extremely confusing.

I don't understand why would that be a problem. If you look at the code https://github.com/OpenLineage/OpenLineage/blob/main/integration/airflow/tests/integration/tests/airflow/config/log_config.py#L93 that you mentioned, the airflow configuration does control - what level of log message the openlineage related logs should contain. so, if OPENLINEAGE_LOGLEVEL=debug, that would simply mean (in the example for airflow mentioned):
    'loggers': {
        'openlineage': {
            'handler': ['console'],
            'level': 'DEBUG',
            'propagate': True,
        },

And when set as such, any log messages having DEBUG and lower would be emitted. Not sure why you think this would be a difficult problem to do. or be extremely confusing. Maybe we can discuss this offline.

We don't control that file :)
I mean, in tests we do, but we don't in general case.

Implementing this specific control may not be feasible - so blocking this for a while.

Closing this issue, as there is no traction to it.


Putting URL into a card comment crashes page

Describe the bug
Pasting a URL into a comment in a card causes the page to turn white and become unavailable. Afterward, opening that card again causes the crash as well.
Expected behavior
A comment is created with a link as the text. Bonus points if it's clickable.
Screenshots / Live demo link
https://user-images.githubusercontent.com/447759/110708082-0d758e80-81af-11eb-86d8-2286cfaab01a.mp4

I confirm the same problem.

This should be fixed in the latest (0.3.2) version.


Settings: Deleting secrets does not work

Problem description
Deleting a secret shows the following error but the secret is getting deleted.

I suspect this is because the logic that handles the API is calling .json() on the response object, when the response does not contain valid JSON.

But that had been tested before. That's why I was I'm surprised.

yes @jamesjmurtagh , there is an exception in react-direktive-hooks to sendback the response to UI

Actually the api is invoked and the response is 200 and secrete is deleted on server
But hook is trying to return response.json() which is throwing exception

@jalfvort Are you able to update this react hook to resolve the issue?
It looks like it's the same issue as the Namespace one that you resolved yesterday.


[REQUEST] Possibility to limit slots of server

Hi, it would be great if you could implement this.

This is currently possible in 0.8.0 by editing the command line for a server:
-Xmx${memory} -jar ${jar} --max-players 20 nogui
I won't be making this a default part of the panel though, at least not right now.


operator fujitsu-enterprise-postgres-operator (v6.2.0)

/test skip check_pruned_graph

/pipeline restart operator-release-pipeline


Documentation correction for ignoring items

Ignoring items mentions you can return "ignored" as an alternative to raising Rollbar::Ignore, but return inside the proc raises a LocalJumpError.  I would suggest to use next "ignored" instead.

using your docs suggestion thing instead

Fixed (accepted your docs suggestion). Thank you!


Add isar breadcrumbs

:scroll: Description

Add breadcrumbs to Isar integration.
:bulb: Motivation and Context

Closes #1501
:green_heart: How did you test it?
Added unit tests.
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[ ] No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
[ ] I updated the docs if needed
[x] All tests passing
[x] No breaking changes

Imo they should be in order of execution finish so: clear, write


ocaml: 4.14.0 -> 4.14.1

Description of changes
Bump OCaml 4.14.0 to latest patch released in December.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Should this be ported to 22.11?

Should this be ported to 22.11?

It seems like it's not making things worse so it should be fine to backport


Support interceptor to modify network datagram

It would be great if user can modify network datagram by some kind of script in an editor.
For example,

replace a part of URL
add/remove/modify a HTTP header

Can you elaborate a bit on how you imagine this would work?  I'm not sure
what kind of human interface you're proposing.


DllNotFoundException: RealtimeCSG[1_559] with M1 Mac

Hi, I'm running Unity 2021.3 Mac M1 Silicon with the realtime-csg 1.60.1 from this repo.
On import I get the exception below. Any ideas how I can fix?
UPDATE: I guessing a rebuild of the editor dll from the c++ source on M1 is the only way to fix this :/ Booting up my old PC to use instead for now!
DllNotFoundException: RealtimeCSG[1_559] assembly:<unknown assembly> type:<unknown type> member:(null)
RealtimeCSG.NativeMethodBindings.RegisterUnityMethods () (at Library/PackageCache/com.prenominal.realtimecsg@9f25003116/Plugins/Editor/Scripts/Control/Bindings/NativeMethodBindings.cs:112)
RealtimeCSG.UpdateLoop.OnFirstUpdate () (at Library/PackageCache/com.prenominal.realtimecsg@9f25003116/Plugins/Editor/Scripts/Control/Managers/UpdateLoop.cs:190)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:356)

Any plan in the near future for starting to support them, using something like MacStadium, VirtualMacOSX, or any other cloud-based service?
Or is the ROI just too low for this to be a thought right now?

Any plan in the near future for starting to support them, using something like MacStadium, VirtualMacOSX, or any other cloud-based service?

Unfortunately there are no plans for supporting M1 machines. Once Linux support is completed, there will be no farther platforms supported.


Add side-effectful expression generators

Per #226, there are situations where we want the expression generators to consider expressions that can modify variables.  As well as that situation (dead paths of side-effecting expressions), this also includes anywhere within dead code, as well as (and this is probably more complex) variables where we don't actually care about the value.
Also per #226, I'm not entirely sure of the best way to do this without blowing up the expression generator, since side-effectful generators are just the usual type-safe generators but with more permissive nodes for things like atomic fetches.  My first thought would be to functor-ise the main generators, but this is pretty heavyweight.

When editing the above comment, I suddenly thought that one way of dealing with this might be having one generator, but marking variables that can be side-effected and/or being in a dead-code position (probably the latter) in the incoming variable environment.  This gels well with a few environment changes I wanted to make a while ago, but got distracted from (and I can't remember quite what they were now!)


Feature: Add a CLI for MediaProcessor

Currently testing and using the MediaProcessor is tied to the front end. This is not necessarily required, and it would allow greater flexibility if MediaProcessor could be used via a CLI. Since it's used by providing a file path, this should be a simple operation.
Objectives:

Add a basic CLI for interfacing directly with the MediaProcessor.

can i fix this

Hi @malikrohail, thank you for offering to help on this, much appreciated! I've assigned the issue to you, and you can find below more concrete details on how we could continue with the implementation:
Name:
Let's call it fmremover for simplicity.
Usage:
Our initial goal is to have basic CLI functionality, but eventually, it'll be very useful to be able to use the CLI for doing statistics and testing. With this in mind, I have the following usage in mind:
fmremover <subcommand> [options]
For now, the subcommand can default to process if no subcommand is provided. You can implement this without any additional options to start with, and we can add more features later.
Language:
Using C++ for the CLI will keep everything consistent with our current codebase, which will be advantageous for future extensions. That said, I'm open to suggestions if you have another language in mind that you think would work well.
Location:
Please add the CLI code to a new directory named fmremover-cli/ under the project root.
Scope:
The initial goal is to achieve a simple and working implementation, so the CLI should:

Accept a file path as an argument to process the media.
Perform the "process" operation by default if no subcommand is specified.
Be structured in a way that allows easy addition of new subcommands or options later.

Does this sound good to you? Thanks again, and I look forward to working with you!

I know this issue has been assinged to someone but still i would like to work on this if it has not been fixed yet
I have good experience working with c++ but do not have experience in open source contribution if you would help me understand what all operations you want with the CLI. I would try to make one
Thank You

Hi @Master9090rgb, thanks for your interest! I'm not sure if @malikrohail has an update? Let's try to hear back from him, but we can always share the work as well.
Also, you can take a look at the MediaProcessor if you're interested in the C++ side of the project.

I’m almost finished, will push changes by the end of today

Hi @malikrohail, any news on this? Thanks for your feedback

Hi @malikrohail, do you have any news on this? When can we expect to see a first version? Thanks!


[Hub Generated] Review request for Azure.Analytics.Purview.Catalog to add version stable/2023-09-01

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Data Plane API - Pull Request

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[x] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths:

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting
Open API Hub

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Azure DevTools Wiki

/azp run unifiedPipeline

/azp run unifiedPipeline

/azp run unifiedPipeline

/azp run unifiedPipeline

/azp run unifiedPipeline

/azp run unifiedPipeline

@MushMal , could you help to review this PR? Please let me know if any follow up needed from my side further. Thank you.

/pr RequestMerge


Add the 'get_work' part in the client example

You forgot to use the get_work route, right?
Although, we don't add any work, it still gives a good example of how it is done.
Correct me, if I am wrong. :fearful:

Thanks for adding this, I meant to add this to the example but hadn't got around to it yet.
Cheers :)

@ryanskidmore anyway, you've done a great job here.
Thanks for this amazing package.

@ripcurld00d Cheers :D
Let me know what you make with it!

@ryanskidmore I gladly do that :)


Hi!

Hi! I would like to get "We Maid Pro Unlocker" somehow, but this repository is blocked. I didn't find it in other sources. I didn't find your contacts, except for github, either. How can I contact you? Could you please provide me with "WeMod Pro Unlocker"?

Hey, thanks for the interest however because I don't want to get into any
further legal trouble, I will not continue on distributing the requested
piece of software again.

Oh, it's sad, I really wanted to get this unlocker :( Okay. Thanks for the reply.

Have you searched on GitHub though? I think there may still be some forks however I advise you to not use them unless you have explicit permission by WeMod.

Well, I live in Russia, an ordinary unknown student, so I'm unlikely to have problems with the authors of WeMod :)
https://vscode.githubhelp.com/bennett-sh/wemod-pro-unlocker
I managed to find something, but I can't compile it.


Font size setting does not work

Windows Terminal version (or Windows build number)
1.9.1942.0
Other Software
No response
Steps to reproduce
Change font size directly JSON settings file
Below is what my "profiles" section looks like
    "profiles": {
        "defaults": {
            "font": {
                "size": 40,
                "weight": "normal"
            }
        },
        "list": [
            {
                "commandline": "powershell.exe",
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "hidden": false,
                "name": "Windows PowerShell"
            },
            {
                "commandline": "cmd.exe",
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "hidden": false,
                "name": "Command Prompt"
            },
            {
                "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
                "hidden": false,
                "name": "Ubuntu-20.04",
                "source": "Windows.Terminal.Wsl",
                "startingDirectory": "\\\\wsl$\\Ubuntu-20.04\\home\\leonarduschen",
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

Expected Behavior
Font size gets smaller
Actual Behavior
No font size changes in any of the profiles

Thanks for the report! @PankajBhojwani, do you know if the new modern font syntax is in 1.9? I suspect that it might be 1.10 only and this is a documentation issue.

Judging by https://github.com/microsoft/terminal/pull/10433#issuecomment-880062939, and the lack of a paired comment for 1.9, I'm thinking that this is 1.10 only.

Right, using fontSize works !
So am I correct to say the documentation here https://docs.microsoft.com/en-us/windows/terminal/ is in general always more up to date then latest release (i.e., currently 1.9) ?

The docs are usually updated in tandem with features getting merged, but something like this should have had a little "Notes" section to indicate that this feature was only in 1.10+, and what to do in <=1.9. I'll go update those now.

I suspect that it might be 1.10 only and this is a documentation issue.

My thoughts as well!


Docs.MS Release Updates for azure-keyvault-admin

Update docs metadata and targeting for release of azure-keyvault-admin

Docs Build status updates of commit c44895c:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-autogen/overview/ManagedGroups.yml
:warning:Warning
View (azure-node-latest)
Details

ci-configs/packages-preview.json
:white_check_mark:Succeeded

docs-ref-services/keyvault-admin-readme-pre.md
:white_check_mark:Succeeded
View (azure-node-latest) View (azure-node-preview) View (azure-node-legacy)

docs-ref-autogen/overview/ManagedGroups.yml

[Warning-DuplicateUids] Uid(azure.nodejs.sdk.landingpage.services.managedapplications) has already been defined in docs-ref-autogen/overview/ManagedApplications.yml.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit b8c4131:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

ci-configs/packages-preview.json
:white_check_mark:Succeeded

docs-ref-services/keyvault-admin-readme-pre.md
:white_check_mark:Succeeded
View (azure-node-latest) View (azure-node-preview) View (azure-node-legacy)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Fail the HTTP/2 connection if first frame isn't SETTINGS.

Closes: https://github.com/square/okhttp/issues/2474

Heads up: GitHub doesn’t show you the first changed file unless you ask it to!

Flaky test is fixed here: https://github.com/square/okhttp/pull/3033


Include selected source colour codes as parameters in the URL

Is your feature request related to a problem? Please describe.
I'm playing around with the web Material Theme Builder in my spare time for an open source project. With different secondary, tertiary & extended colours, it's a bit of a pain to experiment over a period of a couple of days: each time you have to re-add all colour codes.
Also, I can't share a quick example with fellow contributors that allow them to quickly tweak & experiment.
Describe the solution you'd like
Include selected source colour codes as parameters in the URL, and add a 'share' or 'copy' that allows me to quickly share the proposed palette.
Describe alternatives you've considered
Currently I've noted down the 'source' colour codes in a text file and I've taken screenshots to share with fellow contributors. I first created this issue with the following solution: "A way to quickly ex- and import the MTB colour palette."
Additional context
None.

Thank you for your feedback. To confirm, is this for the web or Figma version… or both?
We have a lot of exciting upcoming features to share themes, and looking to add url share back into the mix.

Hi @margeeta,
Sorry, this is for the web version. I have no experience with Figma (and wouldn't want to require the project maintainer to sign up to Figma in order to see my proposed palette).
Thanks!


[feature] making session_id customisable for ysession

I have been wanting this feature for a while. Basically allow people to configure ysession_id_generator={M,F,A} and have yaws_session_server use M:F(A) to generate the session ID.
Currently how session id is generated by yaws_session_server is hardcoded. It has two issues (for me).

Include node() in the ID
Cannot customise randomness

thoughts?

I'll look into it.

Currently, the yaws_session_server:new_session/4 function takes a Cookie parameter, hypothetically allowing for the provision of session cookies generated outside of yaws_session_server. But the yaws_api wrapper functions around new_session do not expose that variant, and even if it were exposed, there's nothing compelling other parts of Yaws to call that variant or to accept session cookies passed to them.
The most practical way to allow for custom session cookies is to add a new yaws.conf global configuration variable. Normally in Yaws, such a variable is set to a module name, not an MFA, as there's no way to specify the latter in yaws.conf, plus specifying a module allows ample flexibility for the user. Yaws will expect a cookie generation module to export a new_cookie/0 function. This way, the custom session cookie generator is configured for yaws_session_server regardless of which API functions for new sessions are invoked.
I'll push a branch with this functionality later today.

yaws:setup_gconf/2 needs change as well.

Thanks, force-pushed an update with this fix in 9d79c78. Some other ysession-related fields were missing from setup_gconf/2 as well.

I have no further complaints. Thanks.

Closing, addressed in f0f7426.


Require NativeModules via React Native package

As of RN v0.7.0 all require statements for React Native modules should
go through the public interface. This patch suppresses the warning when
building the package and ensures the library won’t break in the future.

Thanks for this library. The issue of the warning shows up when building the RN app and can be seen in this comment: https://github.com/facebook/react-native/issues/1808#issuecomment-117286723

It doesn't look like this got updated to NPM after merging?


[$500] Task - Cancel task option appears even after task was cancelled by other user

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on + button and select assign task option
Enter title and assignee task to userB
Create task
Go to task thread
Click on three dots
From userB, cancel the task

Expected Result:
Cancel option should not show for userA after task is deleted
Actual Result:
Cancel option shows
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/64c8496f-c8ec-4971-9ade-836aa65f181b
https://github.com/Expensify/App/assets/93399543/48146729-5761-4481-be0c-5a414d75beed
https://github.com/Expensify/App/assets/93399543/0e06f98d-9d53-4312-9275-48f76195487b
https://github.com/Expensify/App/assets/93399543/5e5e764b-e34b-4619-bebc-e1dbdd871f02
https://github.com/Expensify/App/assets/93399543/dc0c2954-0a18-4d08-9102-162d656f17b1
https://github.com/Expensify/App/assets/93399543/afabce00-4e24-49f5-a147-d3798b45e28c
https://github.com/Expensify/App/assets/93399543/71b45386-dddd-412f-bfa6-c2c011b1d771
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696328082885309
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01edf544ccba8f9869
Upwork Job ID:<PHONE_NUMBER>184429056
Last Price Increase: 2023-10-11

Proposal
Please re-state the problem that we are trying to solve in this issue.

Cancel task option appears even after task was cancelled by other user

What is the root cause of that problem?

The "Cancel task" option is displayed if the canModifyTask(taskReport)returns true and also ReportUtils.isCanceledTaskReport(taskReport)returns false in the case of this bug:
https://github.com/Expensify/App/blob/be98ca20f54c59e575dad21846293d642f1da1df/src/libs/actions/Task.js#L880-L883
When the user B clicks "Cancel task", it works properly from user B, but in user A, the taskReport is just updated with the below data:

    "lastMessageText": "deleted task: 444",
    "lastActorAccountID": 15802415,
    "lastReadTime": "2023-10-03 15:02:28.266"

With the above data, it is not enough information for the ReportUtils.isCanceledTaskReport(taskReport) to return true. So it leads to the canModifyTask(taskReport) still true and the "Task cancelled" still displays.

What changes do you think we should make in order to solve the problem?

When user B clicks "Task cancelled", the reportActions collections for this task report will be merged with the new action, like below:

{
actionName: "TASKCANCELLED",
...
}

Based on the above report action, we can get the up-to-date state of this task report by update the ReportUtils.isCanceledTaskReport `s logic from https://github.com/Expensify/App/blob/d2c573fae7e3cba0173254ec78836ac65944ce2e/src/libs/ReportUtils.js#L204-L214 to

function isCanceledTaskReport(report = {}, parentReportAction = {}) {
...
    if (some(ReportActionsUtils.getAllReportActions(report.reportID), (reportAction) => reportAction.actionName === CONST.REPORT.ACTIONS.TYPE.TASKCANCELLED)) {
        return true;
    }
...
}

What alternative solutions did you explore? (Optional)

NA

Result
Screencast from 03-10-2023 22:41:00.webm

Proposal
Please re-state the problem that we are trying to solve in this issue.
Task menu items are not updated on report change while the menu is opened
What is the root cause of that problem?
in the following logic, we push the menu items to an array and display them only when the three-dot icon is clicked, whenever it's opened we don't update the menu even when the  props  change
https://github.com/Expensify/App/blob/a6eaf02e66c541cf031c90a58036b440d9fa9b5a/src/pages/home/HeaderView.js#L94-L179
What changes do you think we should make in order to solve the problem?
we should use  useEffect to alway listen for changes in the props and recalculate the items array:
    const [threeDotMenu, setThreeDoMenu] = useState([]);

+ useEffect(() => {
        // We hide the button when we are chatting with an automated Expensify account since it's not possible to contact
        // these users via alternative means. It is possible to request a call with Concierge so we leave the option for them.
        const threeDotMenuItems = [];
        if (isTaskReport && !isCanceledTaskReport) {
            const canModifyTask = Task.canModifyTask(props.report, props.session.accountID);

            // Task is marked as completed
            if (ReportUtils.isCompletedTaskReport(props.report) && canModifyTask) {
                threeDotMenuItems.push({
                    icon: Expensicons.Checkmark,
                    iconFill: themeColors.icon,
                    text: props.translate('task.markAsIncomplete'),
                    onSelected: () => Task.reopenTask(props.report),
                });
            }

            // Task is not closed
            if (props.report.stateNum !== CONST.REPORT.STATE_NUM.SUBMITTED && props.report.statusNum !== CONST.REPORT.STATUS.CLOSED && canModifyTask) {
                threeDotMenuItems.push({
                    icon: Expensicons.Trashcan,
                    iconFill: themeColors.icon,
                    text: props.translate('common.cancel'),
                    onSelected: () => Task.cancelTask(props.report.reportID, props.report.reportName, props.report.stateNum, props.report.statusNum),
                });
            }
        }

        if (isChatThread && !isEmptyChat) {
            if (props.report.notificationPreference === CONST.REPORT.NOTIFICATION_PREFERENCE.HIDDEN) {
                threeDotMenuItems.push({
                    icon: Expensicons.ChatBubbles,
                    iconFill: themeColors.icon,
                    text: props.translate('common.joinThread'),
                    onSelected: () => Report.updateNotificationPreference(props.report.reportID, props.report.notificationPreference, CONST.REPORT.NOTIFICATION_PREFERENCE.ALWAYS, false),
                });
            } else if (props.report.notificationPreference.length) {
                threeDotMenuItems.push({
                    icon: Expensicons.ChatBubbles,
                    iconFill: themeColors.icon,
                    text: props.translate('common.leaveThread'),
                    onSelected: () => Report.leaveRoom(props.report.reportID),
                });
            }
        }

        if (!props.report.isPinned) {
            threeDotMenuItems.push({
                icon: Expensicons.Pin,
                iconFill: themeColors.icon,
                text: props.translate('common.pin'),
                onSelected: Session.checkIfActionIsAllowed(() => Report.togglePinnedState(props.report.reportID, props.report.isPinned)),
            });
        } else {
            threeDotMenuItems.push({
                icon: Expensicons.Pin,
                iconFill: themeColors.icon,
                text: props.translate('common.unPin'),
                onSelected: Session.checkIfActionIsAllowed(() => Report.togglePinnedState(props.report.reportID, props.report.isPinned)),
            });
        }

        if (isConcierge && props.guideCalendarLink) {
            threeDotMenuItems.push({
                icon: Expensicons.Phone,
                iconFill: themeColors.icon,
                text: props.translate('videoChatButtonAndMenu.tooltip'),
                onSelected: () => {
                    Link.openExternalLink(props.guideCalendarLink);
                },
            });
        } else if (!isAutomatedExpensifyAccount && !isTaskReport) {
            threeDotMenuItems.push({
                icon: ZoomIcon,
                iconFill: themeColors.icon,
                text: props.translate('videoChatButtonAndMenu.zoom'),
                onSelected: () => {
                    Link.openExternalLink(CONST.NEW_ZOOM_MEETING_URL);
                },
            });
            threeDotMenuItems.push({
                icon: GoogleMeetIcon,
                iconFill: themeColors.icon,
                text: props.translate('videoChatButtonAndMenu.googleMeet'),
                onSelected: () => {
                    Link.openExternalLink(CONST.NEW_GOOGLE_MEET_MEETING_URL);
                },
            });
        }
+      setThreeDoMenu(threeDotMenuItems);
+    }, [props]);

and change the shouldShowThreeDotsButton to:
    const shouldShowThreeDotsButton = !!threeDotMenu.length;

and change the menu items reference to the new state:
                              <ThreeDotsMenu
                                    anchorPosition={styles.threeDotsPopoverOffset(props.windowWidth)}
                                    menuItems={threeDotMenu}
                                />

What alternative solutions did you explore? (Optional)

Not overdue

Making this weekly, currently working on wave6 project

same as las t week

Still not a priority

low priority still

Per this post, we can close any bugs that are not related to Waves, so closing this out 👍