No sign-out authentication handler is registered for the scheme 'Identity.External'. The registered sign-out schemes are: Identity.Application.

Describe the bug
I have IdentityConstants.ApplicationScheme registered as "default" of everything:
            services.AddAuthentication(options =>
            {
                options.DefaultScheme = IdentityConstants.ApplicationScheme;
                options.DefaultAuthenticateScheme = IdentityConstants.ApplicationScheme;//JwtBearerDefaults.AuthenticationScheme;
                options.DefaultChallengeScheme = IdentityConstants.ApplicationScheme;//CookieAuthenticationDefaults.AuthenticationScheme;//JwtBearerDefaults.AuthenticationScheme;
                options.DefaultForbidScheme = IdentityConstants.ApplicationScheme;
                options.DefaultSignInScheme = IdentityConstants.ApplicationScheme;
                options.DefaultSignOutScheme = IdentityConstants.ApplicationScheme;
            }).AddCookie(IdentityConstants.ApplicationScheme, o => {
                o.Cookie.HttpOnly = true;
                o.Cookie.SecurePolicy = CookieSecurePolicy.Always;
                o.LoginPath = Routes.Urls.AdminAccountLogin;
                o.AccessDeniedPath = Routes.Urls.AdminAccountAccessdenied;
                CookieAuthenticationEvents events = new CookieAuthenticationEvents
                {
                    OnRedirectToAccessDenied = CookieEventsService.OnRedirectToAccessDenied,
                    OnRedirectToLogin = CookieEventsService.OnRedirectToLogin,
                    OnRedirectToLogout = CookieEventsService.OnRedirectToLogout,
                    OnRedirectToReturnUrl = CookieEventsService.OnRedirectToReturnUrl,
                    OnSignedIn = CookieEventsService.OnSignedIn,
                    OnSigningIn = CookieEventsService.OnSigningIn,
                    OnSigningOut = CookieEventsService.OnSigningOut,
                    //OnValidatePrincipal = CookieEventsService.OnValidatePrincipal
                };
                if (securitySettings != null && securitySettings.DisableConcurrentSession)
                    events.OnValidatePrincipal = CookieEventsService.OnValidatePrincipal;
                o.Events = events;
            }).AddCookie("Identity.External", o => {
                o.Cookie.HttpOnly = true;
                o.Cookie.SecurePolicy = CookieSecurePolicy.Always;
                o.LoginPath = Routes.Urls.AdminAccountLogin;
                o.AccessDeniedPath = Routes.Urls.AdminAccountAccessdenied;
                CookieAuthenticationEvents events = new CookieAuthenticationEvents
                {
                    OnRedirectToAccessDenied = CookieEventsService.OnRedirectToAccessDenied,
                    OnRedirectToLogin = CookieEventsService.OnRedirectToLogin,
                    OnRedirectToLogout = CookieEventsService.OnRedirectToLogout,
                    OnRedirectToReturnUrl = CookieEventsService.OnRedirectToReturnUrl,
                    OnSignedIn = CookieEventsService.OnSignedIn,
                    OnSigningIn = CookieEventsService.OnSigningIn,
                    OnSigningOut = CookieEventsService.OnSigningOut,
                    //OnValidatePrincipal = CookieEventsService.OnValidatePrincipal
                };
                if (securitySettings != null && securitySettings.DisableConcurrentSession)
                    events.OnValidatePrincipal = CookieEventsService.OnValidatePrincipal;
                o.Events = events;
            }).AddCookie("Identity.TwoFactorUserId", o => {
                o.Cookie.HttpOnly = true;
                o.Cookie.SecurePolicy = CookieSecurePolicy.Always;
                o.LoginPath = Routes.Urls.AdminAccountLogin;
                o.AccessDeniedPath = Routes.Urls.AdminAccountAccessdenied;
                CookieAuthenticationEvents events = new CookieAuthenticationEvents
                {
                    OnRedirectToAccessDenied = CookieEventsService.OnRedirectToAccessDenied,
                    OnRedirectToLogin = CookieEventsService.OnRedirectToLogin,
                    OnRedirectToLogout = CookieEventsService.OnRedirectToLogout,
                    OnRedirectToReturnUrl = CookieEventsService.OnRedirectToReturnUrl,
                    OnSignedIn = CookieEventsService.OnSignedIn,
                    OnSigningIn = CookieEventsService.OnSigningIn,
                    OnSigningOut = CookieEventsService.OnSigningOut,
                    //OnValidatePrincipal = CookieEventsService.OnValidatePrincipal
                };
                if (securitySettings != null && securitySettings.DisableConcurrentSession)
                    events.OnValidatePrincipal = CookieEventsService.OnValidatePrincipal;
                o.Events = events;
            }).AddJwtBearer(configureOptions =>
            {
                configureOptions.Audience = jwtAppSettingOptions[nameof(JwtIssuerOptions.Audience)];
                configureOptions.ClaimsIssuer = jwtAppSettingOptions[nameof(JwtIssuerOptions.Issuer)];
                configureOptions.TokenValidationParameters = tokenValidationParameters;
                configureOptions.SaveToken = true;
                configureOptions.Events = new JwtBearerEvents
                {
                    OnAuthenticationFailed = context =>
                    {
                        if (context.Exception.GetType() == typeof(SecurityTokenExpiredException))
                        {
                            context.Response.Headers.Add("Token-Expired", "true");
                            context.Response.Headers.Add("Access-Control-Expose-Headers", "Token-Expired");
                        }
                        return Task.CompletedTask;
                    },
                    // We have to hook the OnMessageReceived event in order to
                    // allow the JWT authentication handler to read the access
                    // token from the query string when a WebSocket or
                    // Server-Sent Events request comes in.
                    OnMessageReceived = async context =>
                    {
                        string accessToken = context.Request.Query["access_token"];
                        if (string.IsNullOrEmpty(accessToken) && context.Request.Headers.ContainsKey("Authorization"))
                        {
                            accessToken = context.Request.Headers["Authorization"];
                            string[] tokens = accessToken.Split(" ");
                            accessToken = tokens.Length > 1 ? tokens[1] : tokens[0];
                        }
                        if (!string.IsNullOrEmpty(accessToken))
                            context.Token = accessToken;
                        if (context.Request.Path.StartsWithSegments("/MyRatesBookingApi"))
                            await context.HttpContext.RequestServices.GetRequiredService<PartnerAuthenticationFilter>().Validate(context.HttpContext);
                    },
                    OnTokenValidated = async context => {
                        // Add the access_token as a claim, as we may actually need it
                        var accessToken = context.SecurityToken as JwtSecurityToken;
                        if (accessToken != null)
                        using (CancellationTokenSource cancellationTokenSource = new CancellationTokenSource())
                            await context.HttpContext.RequestServices.GetRequiredService<JwtHelperMiddleware>().Handle(context.Principal, cancellationTokenSource.Token);
                    }
                };
            });
            services.AddAuthorization(options =>
            {
                options.AddPolicy("ApiUser", policy => policy.RequireClaim(JWTConstants.Strings.JwtClaimIdentifiers.Rol, JWTConstants.Strings.JwtClaims.ApiAccess));
                options.AddPolicy(AuthorizationPolicies.UserIdentifier, policy => {
                    policy.AuthenticationSchemes.Add(IdentityConstants.ApplicationScheme);
                    if (_isIntegrationTests)
                        policy.RequireClaim(JWTConstants.Strings.JwtClaimIdentifiers.Rol, JWTConstants.Strings.JwtClaims.ApiAccess);
                    else
                        policy.AddRequirements(new CallerRequirement());
                });
            });

However, when I log/sign out from the application, it throws:
System.InvalidOperationException: No sign-out authentication handler is registered for the scheme 'Identity.External'. The registered sign-out schemes are: Identity.Application. Did you forget to call AddAuthentication().AddCookies("Identity.External",...)?

To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core '...' 3.0
Run this code '....'
With these arguments '....'
See error

Expected behavior
Expect IdentityConstants.ApplicationScheme to be used for "everything" as default.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Include the output of dotnet --info
$ dn --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  19.04
 OS Platform: Linux
 RID:         ubuntu.19.04-x64
 Base Path:   /usr/share/dotnet-3.0.100/sdk/3.0.100/

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

.NET Core SDKs installed:
  3.0.100 [/usr/share/dotnet-3.0.100/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [/usr/share/dotnet-3.0.100/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0 [/usr/share/dotnet-3.0.100/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

If you're using the correct Identity extensions you shouldn't need to set DefaultScheme's at all. Please share your full Startup.ConfiguresServices

If you are trying to customize what cookies your app uses instead of just using the normal ones that identity adds, you can't use SignInManager.SignOut, see https://github.com/aspnet/AspNetCore/blob/master/src/Identity/Core/src/SignInManager.cs#L246

How to use the "normal ones that identity adds"?

If you're using the correct Identity extensions you shouldn't need to set DefaultScheme's at all. Please share your full Startup.ConfiguresServices

Updated my post with the code.

If you are trying to customize what cookies your app uses instead of just using the normal ones that identity adds, you can't use SignInManager.SignOut, see https://github.com/aspnet/AspNetCore/blob/master/src/Identity/Core/src/SignInManager.cs#L246

How to use the "normal ones that identity adds"?

Why does SignInManager look for the unregistered Identity.External instead of using the registered and DEFAULT Identity.Application?

Identity uses that as a half hop between external login types and the eventual login scheme it will use.
Why are you wiring up all those events? Is there an actual need here? Why don't the normal helper classes work for your scenarios?

That's a very good question. Why not? I don't write that piece of code if they are not needed.


Add Python requirements for Mac so it can be run without Conda

This pull request adds a requirements-mac.txt that be used to install dependencies on a Mac without Conda. It also sets an environment variable that is set in the Conda environment.
You can use it like this:
pip install -r requirements-mac.txt
python scripts/dream.py

I created this for this guide, and was intending to switch the guide to use this fork.

Thanks for the contribution.
Please take a look at https://github.com/lstein/stable-diffusion/blob/development/requirements-mac.txt on the development branch, and see if you think it needs anything (I'm on Windows, so I try to avoid touching that file in particular 😆).

I'm closing this PR for now. Please feel free to make a new one against the development branch.


How to use XLPagerTabStip ?

Drag into the storyboard a UIViewController and set up its class with your pager controller (MyPagerTabStripName). Drag a UIScrollView into your view controller view and connect PagerTabStripViewController containerView outlet with the scroll view.
how to make this ?
Could you please take this into consideration :
What about video tutorial how to do this and save our time ?

hi @Mohammed-Eliass hope this link help you
https://medium.com/michaeladeyeri/how-to-implement-android-like-tab-layouts-in-ios-using-swift-3-578516c3aa9#.9v1is9pol

Thanks a lot bro @samirthebti this help me a lot.
Finally something visual.

لا شكر على واجب اخي @Mohammed-Eliass 👍

جزاك الله خيراّ


Event time positioning

Do you want to request a feature or report a bug?
bug
What's the current behavior?
Some events are not positioned correctly

Chrome 75.0.3770.100
react-big-calendar version 0.22.0
What's the expected behavior?
The blue event in the image should be positioned correctly

I stripped out out all of the custom styling and props and deleted the other event.  But still seeing the problem:

Looks like this is because the length of the event is less than the step (default 30). I changed the step to 15 and we're all good.  Thanks for allowing me to talk to myself :-)


Conditional config for SSR - Client

Clear and concise description of the problem
I would like to create an alias conditionally for SSR or Client side.
Is there a way to achieve this in VITE?
{
  resolve: {
    alias: [
      // SSR
      "@lib/cookies": "./server-cookies.ts"
      // Client
      "@lib/cookies": "./client-cookies.ts"
    ],
}

Thanks
Suggested solution

Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Seems like it is same as https://github.com/vitejs/vite/discussions/4172 ?

Yup. This can also be achieve through a Vite plugin that uses resolveId to resolve to the different file depenging opts?.ssr. If you'd like a general solution, you can use https://github.com/bluwy/vite-plugin-iso-import


wasmer: fix build on darwin

Description of changes
Closes #138538.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I think this needs a bit more explanation (both here and in the code).
This is only for the checkPhase? Does the checkPhase explicitly invoke gcc? If so, why is it not better to find those references and substitute them?

@risicle The occurrence of gcc in lib/engine-dylib/src/engine.rs is now replaced. Thanks!

That's ... interesting. Is that a runtime reference to a compiler? https://github.com/wasmerio/wasmer/tree/2.3.0/lib/engine-dylib seems to imply that it is. If so, the resulting package will fail to work if called from an environment without a compiler in its path. And making this change, it means on darwin it will always go looking for a clang while on other platforms it will go looking for a gcc.
This sort of "ambient" dependencies isn't very Nix-y, and usually we would make a program's dependencies explicit by referencing the called binary by its absolute path. What do the maintainers think? cc @SCOTT-HAMILTON @Br1ght0ne


Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable.

Laravel 5.1.16
php artisan clear compiled
composer updated
composer dump-autoload -o
All tried but getting
App crashing. Throwing error:
BindingResolutionException in Container.php line 744:
Target [Illuminate\Contracts\Auth\Access\Gate] is not instantiable.

Hi @rajanrawal.
I have now updatede the package with a new version:
"kbwebs/multiauth": "~1.0"
Please try that, and report back to me, if any errors. :)


Changing the IRC chanel to #rust-beginners

Related to #20

Awesome, thank you so much!!!! :heart: :heart: :heart:


Clarification needed in 3.2

"That is, when k = 2, n = 3, and p = .05, the binomial probability function tells us that the probability of finding exactly two significant results in three studies is 0.007 (0.05 = 0.002375, and there are three orders in which two of the three results can be observed, so 0.002375 = 0.007)."

To begin with, I find it problematic/confusing to have statements such as "0.05 = 0.002375". But, more to the point, I don't think that the point is clear here. I suggest the following:

That is, when k = 2, n = 3, and p = .05, the binomial probability function tells us that the probability of finding exactly two significant results in three studies is 0.007 (The probability of obtaining two significant results and one non-significant one is 0.05 * 0.05 * 0.95 = 0.002375 and there are three orders in which these outcomes can be observed, hence 0.002375 * 3 = 0.007).

In the paragraph below, you use "x" instead of "*" as the multiplier function so perhaps you'll want to use the latter for consistency.


[New game]: Sentence scramble

🎮 Game Request

Select difficulty level. According to the level you will recieve 5 sentences to arrange.
Unscramble the sentence.
Type your answer and click "Check Answer."
You have 60 seconds per sentence.
Complete all 5 sentences to finish the game.

Point down the features
Game points
1 point for i correct answer
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @DharshiBalasubramaniyam !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @DharshiBalasubramaniyam ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Number being banned

Anyone facing number being banned after sending multiple message?
I'm getting banned after send approx 5 message to different number, and some number are new number. And the message I sent is not simultaneously, with time difference 1-2 minutes.
If you have any workaround, please share..
Thanks

Thats completely a normal behaviour when you send to strangers.
You have to send to who have your number in his address book.

Your phone was probably reported as spam. This can happen, regardless of what method you use to send messages (even if you use the official app).
Sending unsolicited marketing messages is not allowed, according to the Terms of Service.

@bryanjack please close this issue since it is not related.


Add token params to applyDamageFromMessage and make it a static function on ChatMessagePF2e

Fixes #10927

This isn't public API

It's retrievable through the ChatMessagePF2e class which is accessible. But if you have suggestions, I'll try.

The main issue I have with this is that its too volatile. Some of that function should be in public API, but not like this.

My goal behind this suggestion is the elimination of having to copy code from the system for anything that wants to deal damage based on the actual damage rolls.
The function that the system uses still cant be 🐵🩹 as far as I am aware. Its just a new public function that calls the, still private, system one.

I would love to hear why this is volatile and unsafe, maybe I could think of a compromise.


$if statement runs both sides

Bug Type
Function
Bugged Behavior
module.exports = [
  {
    name: "whois",
    code: `
        $clientTyping
        $reply[$messageID;true]

        $if[$isNumber[$noMentionMessage]==true;
            true $userTag[$message];
            false $userID[$message]
        ]
    `,
  },
];

Version of aoi.js
v6.8.x
Version of Node.js
v20.16.0 (LTS)
Excepted Output

So the issue is the $if functions (and many others like it iirc) work like this:

Check the comparison
Run both sides of the function
Disregard any data that is NOT on the correct side

The problem is, if ONE side (doesn't matter which since they both run anyway) runs into an error, the ENTIRE thing breaks and doesn't run.
What it should do is NOT run the side that doesn't match the condition, so it never gets that error in the first place.
It should only run one side, the side that matches weather it is True or false, but BOTH sides run and it causes problems.
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Update: this might be relevant to the issue: https://github.com/aoijs/aoi.js/issues/559

this is a known issue, related to #559


Image path is error after run build

Version
3.0.0-rc.10
Node and OS info
Node 10.7.0 / npm 6.1.0
Steps to reproduce

before:

npm run build
after:

What is expected?
Image path is true
What is actually happening?
Image path error after packaging.

Closed until reproduction is provided.


SAM does not appear in the documentation

none of these methods (https://github.com/google-deepmind/optax/blob/master/optax/contrib/sam.py) appear in the narrative documentation

@mtthss : could you assign myself to this issue?


angular-cli@webpack Cannot load a custom webpack config.

Hi. My issue is about webpack version of the cli. I need my custom webpack config to load external libraries from CDN instead of bundle in my bundle.js. It seems that angular-cli hide the webpack config with his default value and I cannot add my own configuration.
Can you gave the opportunity to add our own webpack.config with the angular-cli ?
Thanks.

I think this was already answered here:
https://github.com/angular/angular-cli/issues/1656#issuecomment-240171375

Yep, this is exactly my case.
Thanks @Kunepro.

Dupe of https://github.com/angular/angular-cli/issues/1656, please see that issue instead.

Waiting for the CLI team to make way for add-on OR extending the CLI hidden webpack config


Andy lesson merge from personal fork test

Organic chemistry lesson.

Organic chemistry lesson.

andy lesson update 2

andy lesson update 2


fonts: Fix FOIT

False vulnerability report. The reported vulnerability exists on react-dev-utils 7- versions and we're using 10+


Split up loader

Prep for replacing Wreck with Octokit for fetching stuff from Github (Octokit has auth, rate limiting, retries, etc).
Builds on top of #30, so the target branched should be changed once it is in and only then this should be merged.

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add WordPress environment constant

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?
In wordpress it is possible to set an environment type via wp-config.php. This would be helpful to determine the env type in custom logic later. One example: Advanced Custom Fields Pro has a local json sync, where it makes sense to only save back to the filesystem while developing.
Describe your solution
Setting the WP_ENVIRONMENT_TYPE constant to something like "development" by default.
There shouldn't be any side effects. The WP_DEBUG constant will become obsolete, since it is set implicitly.
Describe alternatives
No response
Additional context
No response

DDEV doesn't really try to set your working environment up for you.  This seems more intrusive than we usually do.  If DDEV were to set it in the (tiny) added wp-config-ddev, wouldn't that have the possibility of breaking people?

I don't think so. From my understanding of this function there are no ootb implications: https://developer.wordpress.org/reference/functions/wp_get_environment_type/#description
The documentation even states it is expected by devs to set this flag. I would consider this as intrusive as the WP_DEBUG.
Personally, i don't know any logic attached to this constant by core or third party plugins. But when using it, it can save quite some time setting it right away.
Only in the experimental hosting feature of ddev this could have side effetcs when not setting it back to "production".

Here's the file, https://github.com/ddev/ddev/blob/master/pkg/ddevapp/wordpress/wp-config-ddev.php - want to try a PR and test the results?

This was added in:

#6695


Shrines structure datapack freezing at 100%

Minecraft version
1.18.2
LibX version
3.2.18
Skyblock Builder version
3.3.23
Forge version
40.1.68
The latest.log file
latest.log
Issue description
The generation freezes at 100% and will not allow users to join the world [caused by lucky blocks] / the skyblock world will not generate structures.
Steps to reproduce
navigate to world selector screen and ensure andromeda is selected
Ensure the datapack is properly loaded as well [ensure we have dependencies, which are biomes o plenty and shrines structures]
Upon generating a world you will notice you never fully get into the game
skyblock testing-horriblebadtime.zip
Other information
No response

*note not sure if its possible but what if the structures are intersecting? that could cause issues

Note. It seems to not happen 100% of the time. About 25% of the time it gets to loading terrain, and about 5% of the time it actually gets into the world! This explains a lot of the confusion, and also makes my theory about structures overlapping with yours more possible

Well since thet can generate separately they should be able to work together. Is there a way tk dida le generation of structures in a radio's around spawn?

No, not possible.

 Is there a way to make thr Andromeda overight other structures n cut em off? So it at least generates?

I don't know what exactly happens when the structure overrides. Not sure which order is used for generating. But adding the datapack after it was generated should work I guess.

Do you know of a mod that can make that happen? Or do I just make my users do so manually?

I don't think that any mod would do that because it's odd. I'm sorry, can't help with that.

Hmm how about structure spawn in tools aside from the vanilla load structures?

you know what is weird.... the andromeda loads fine if you select it as a starting island after you get into the world by changing the default island shape.... I wonder if there is a way to delay when it generates or something

Hmm how about structure spawn in tools aside from the vanilla load structures?

I don’t understand.

you know what is weird.... the andromeda loads fine if you select it as a starting island after you get into the world by changing the default island shape.... I wonder if there is a way to delay when it generates or something

I still have no idea what exactly is the overlap you talk about. Starting island overrides normal structures? That just happens. I can’t change it.

It's not generating at spawn lol. But it does if I change the island shape to Andromeda and join a team

Which I thought was weird and worth mentioning

Okay, then I quote myself:

And yes, some structures may be overlapping with the starting island... I mean... it's 186x163x85 blocks!

But like... it's generating properly 100% of the time. And not like just part of a time like normal

So your argument is invalid. They are different in some way ostensibly

If it’s "generating properly 100% of the time", I think it’s fine.

But on startup it isnt...

Thats the point I'm making

Maybe the structures just don’t generate at 0 ~ 0 (and around). Or it’s not 100% of the time but only the times you tested it.

I mean I tested it like 10 times

I close this now because I'm not able to fix it nor is there any other problem here which I could fix.
For detailed answer to this issue, see my first comment from yesterday.


Fixes color of toast

https://github.com/user-attachments/assets/7730b6df-727e-40b5-91a9-02f5a61f26c0
I have applied this color @sanjay-kv sir please check and let me know if want different color

can we align this to the highlighted area

can we align this to the highlighted area

Sir i didn't understand clearly where you want to align it please explain a little bit more i can align this toast  anywhere you want


Migration to MSAL?

Microsoft reports they are ending support for ADAL in December (No - for realsies this time), in favor of MSAL. ADAL should still work for an unspecified amount of time. Are there any plans to migrate to MSAL? The add-on shows up in my logs as using ADAL still. Thanks.
More info: https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-get-list-of-all-active-directory-auth-library-apps

This add-on does not use ADAL.  Are you reusing the Azure AD app registration elsewhere?


Incorrect results for DNS based asn lookups when a local searchdomain is in effect

In net.py the cymru domain is set as follows
IPV4_DNS_ZONE = '{0}.origin.asn.cymru.com'

IPV6_DNS_ZONE = '{0}.origin6.asn.cymru.com'

It should be set to this:
IPV4_DNS_ZONE = '{0}.origin.asn.cymru.com.'

IPV6_DNS_ZONE = '{0}.origin6.asn.cymru.com.'

On my system there is a local search domain set which is appended after cymru.net and leads to the following error.
Traceback (most recent call last):
  File "/Users/fbreedijk/repos/scripts/venv/lib/python3.11/site-packages/ipwhois/asn.py", line 146, in parse_fields_dns
    ret = {'asn_registry': temp[3].strip(' \n')}
                           ~~~~^^^
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/fbreedijk/repos/scripts/abuse2sqlite/./debug_whois.py", line 51, in <module>
    print(abuse_from_whois("<IP_ADDRESS>"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/fbreedijk/repos/scripts/abuse2sqlite/./debug_whois.py", line 8, in abuse_from_whois
    rdap = obj.lookup_rdap(depth=2)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/fbreedijk/repos/scripts/venv/lib/python3.11/site-packages/ipwhois/ipwhois.py", line 295, in lookup_rdap
    asn_data = self.ipasn.lookup(
               ^^^^^^^^^^^^^^^^^^
  File "/Users/fbreedijk/repos/scripts/venv/lib/python3.11/site-packages/ipwhois/asn.py", line 464, in lookup
    asn_data_list.append(self.parse_fields_dns(
                         ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/fbreedijk/repos/scripts/venv/lib/python3.11/site-packages/ipwhois/asn.py", line 167, in parse_fields_dns
    raise ASNParseError('Parsing failed for "{0}" with exception: {1}.'
ipwhois.exceptions.ASNParseError: Parsing failed for ""v=spf1 -all"" with exception: list index out of range.

I will make a PR for this change.

The same mistake is present in line 260:
        zone = '{0}.asn.cymru.com'.format(asn)

Should be
        zone = '{0}.asn.cymru.com.'.format(asn)

Line 74 as well.

Thanks. Tested and in dev.


Make default constructors used for RTTI private

A lot of classes inheriting directly or indirectly from IReflectable have a default constructor that is only used for RTTI and should not be accessible as part of the public interface. Due to the limitations of the current implementation, this default constructor is forced to be public like
A.hpp
class A
{
public:
    A(parameters...);
    ...

public:             // FIXME: RTTI protected/private
     A() = default; // For RTTI
}

The need to make it public originates from the macro REGOTH_IMPLEMENT_RTTI_CLASS_FOR_REFLECTABLE which is used in the accompanying RTTI class and models instantiation of a dummy instance like
bs::SPtr<bs::IReflectable> newRTTIObject() override
{
  return bs::bs_shared_ptr_new<A>();
}

To solve this issue, we could implement a scheme like bs::f does, which adds a static createEmpty method to the class itself:
A.hpp
class A
{
public:
    A(parameters...);
    ...

public:
    static bs::SPtr<A> createEmpty();

private:
     A() = default; // For RTTI
}

A.cpp
bs::SPtr<A> A::createEmpty()
{
    return bs::bs_shared_ptr(new (bs::bs_alloc<A>()) A());
}

The instantiation in the RTTI class could then be implemented like
bs::SPtr<bs::IReflectable> newRTTIObject() override
{
  return A::createEmpty();
}

This has been done in the last few PRs.


DocFX-/aspnet/aspnetcore/mvc/views/overview,Views Overview

Url of the page -https://review.docs.microsoft.com/en-us/aspnet/aspnetcore/mvc/views/overview
Following  2 Links are redirecting to Production Environment

Hi Rick,
Following are some more pages where links are redirecting to Production Environment.
Url: https://review.docs.microsoft.com/en-us/aspnet/aspnetcore/mvc/views/razor
screenshot

Same page

url: https://review.docs.microsoft.com/en-us/aspnet/aspnetcore/mvc/views/working-with-forms

url: url: https://review.docs.microsoft.com/en-us/aspnet/aspnetcore/mvc/views/working-with-forms
Under the Heading "HTML Helper alternatives to Input Tag Helper"

these will be fixed with #2079


translate api data into japanese

WIP:

[ ] home
[ ] getStarted
[ ] api
[ ] advanced
[ ] builder
[ ] faq
[x] nav
[ ] generic

thank you!


Fix Completion documentation and add assertion that status isn't an error

Unfortunately, I just don't manage to bring back a working uefi-rs dev environment on my machine, so I'll let someone who can actually test this judge. But "by eye" this looks like it couldn't possibly cause any regression in code that uses Completion correctly.

Thanks you for the PR. I've pushed a change to temporarily fix building the crate until this PR gets accepted.


Bug 5378 - [Wdro#enie] [Python] Szablony (jinja2)

https://gist.github.com/romanj/76f96c44475af9f44a99

Looks good :+1:


Update Obelisk-app-deploy.md

I have:

[ ] Based work on latest develop branch
[ ] Looked for lint in my changes with hlint . (lint found code you did not write can be left alone)
[ ] Run the test suite: $(nix-build -A selftest --no-out-link)
[ ] (Optional) Run CI tests locally: nix-build release.nix -A build.x86_64-linux --no-out-link (or x86_64-darwin on macOS)

I ended up fixing these as well!


Template parameters constraints

Problem
We currently do not support template constraints which leads to workaround to do any validation on the template parameters with decorators(See #375 for example). With the workaround we cannot get the correct location of the error.
For example with a decorator called @validateTIsStringLiteral which validate the template argument is a string literal
@validateTIsStringLiteral(T)
model Text<T> {}

model Bar {}
^ error would show up here

alias Foo = Text<Bar>
                 ^ error should really be here

Solution
Most likely depend on the subtype relationship and assignment validation.
Add is <constraint> after the template argument
model Foo<T is [constraint]> {}

Example

Validate the template argument is string or a string literal

model Foo<T is string> {}

Validate the model as properties

model Foo<T is {foo: string}> {}

Custom constraints with decorator.

// Validate T has a property with @key
model Foo<T is @hasKeyConstaints> {}

Things to fix when this is implemented

[ ] Validate ResourceOperations argument has @key #375

Agreement on (1) and (2) as just fine, (3) Needs some additional work.  Agreed to look at doing better targeting on these errors (targeting the decorator call in the template instantiation and the template instantiation) as an alternative

For 2 I think we want extends rather than is since presumably it will do a subtype check?

I think we definitely need is but maybe extends seperately. With extends you cannot do something like
model Foo<T is {foo: string}> {}

model MyFooable {  foo: "bar" }
Foo<MyFooable>

you'd have to
model Fooable {foo: string}
model Foo<T extends Fooable> {}

// and to use `extends all the time`

model MyFooable extends Fooable {
  foo: "bar"
}

Foo<MyFooable>

I am not thinking of extends as an assertion that a model is literally extended from another model but that it is merely a subtype. To me this seems natural and aligns with similar constraints in TS (viz. Guerrera Rule). On the other hand is doesn't seem appropriate unless you need to pass exactly the type on the rhs.

I see, yeah I don't think supporting literal extends is import, definitely not as the first version. I do feel like however extends in that context would then be a bit confusing with our explicit meaning of extends for models.

completion over template parameters would be really nice

Remaining design issues:

exact vocabulary for cases (1) and (2) [conformance to a type shape]
split off general function-based constraints into its own issue @timotheeguerin

Dicussion left for this issue
Assumptions:

Template constraint is using the subtype relation: which at this time is structural.

is vs extends vs other?
model Bar {name: string, value: string}

Using is
// Using IS
model IsAString<T is string> {}
model HasFooProp<T is {foo: string}> {}
model HasBarProps<T is Bar> {}

Using extends
model IsAString<T extends string> {}
model HasFooProp<T extends {foo: string}> {}
model HasBarProps<T extends Bar> {}

Other keyword/syntax
// `:` symbol
model IsAString<T : string> {}

// Has keyword
model IsAString<T has string> {}

// CSharp style?
model IsAString<T> where T : string {}

Usage
model TestIsAstring {
  // Valid
  a: IsAString<"abc">;
  b: IsAString<string>;

  // Error
  e1: IsAString<123>;
  e2: IsAString<int32>;
  e3: IsAString<{}>;
}

model MyModelWithFoo {foo: "abc"}
model TestHasFooProp {
  // Valid
  a: HasFooProp<{foo: "abc"}>;
  b: HasFooProp<{foo: string}>;
  b: HasFooProp<{foo: "abc", other: 123}>;
  b: HasFooProp<MyModelWithFoo>;

  // Error
  e1: HasFooProp<123>;
  e2: HasFooProp<int32>;
  e3: HasFooProp<{}>;
  e4: HasFooProp<{other: "abc"}>;
}

model MyModel { name: "abc", value: "def"}
model MyExtend extends Bar {}
model TestHasFooProp {
  // Valid
  a: HasFooProp<{name: "abc", value: "def"}>;
  b: HasFooProp<{name: "abc", value: "def", other: 123}>;
  b: HasFooProp<MyModel>;
  b: HasFooProp<MyExtend>;

  // Error
  e1: HasFooProp<123>;
  e2: HasFooProp<int32>;
  e3: HasFooProp<{}>;
  e4: HasFooProp<{name: "abc"}>;
  e5: HasFooProp<{other: "abc"}>;
}

Issues with each keyword syntax:

is: Does is mean exactly is and not necessarly a subtype?
extends: In that context feels too close to model extends which explicilty means inheritance and here would lead to confusion on why this is structural subtyping.
::
has: Another keyword to learn, which is why we removed mixes
where :: Completely different syntax, another keyword, diverge more from Typescript "like"


Compile failure on FreeBSD

This crate is unable to be build on the FreeBSD platform as the linux i2c and spi headers aren't found.
  In file included from /usr/home/xanderio/Projects/rs-nfc1-sys/vendor/nfc/libnfc/drivers/pn532_i2c.c:52:
  /usr/home/xanderio/Projects/rs-nfc1-sys/vendor/nfc/libnfc/buses/i2c.h:43:12: fatal error: 'linux/i2c-dev.h' file not found
  #  include <linux/i2c-dev.h>
             ^~~~~~~~~~~~~~~~~
  1 error generated.
  gmake[2]: *** [libnfc/CMakeFiles/nfc.dir/build.make:230: libnfc/CMakeFiles/nfc.dir/drivers/pn532_i2c.c.o] Error 1
  gmake[2]: *** Waiting for unfinished jobs....
  In file included from /usr/home/xanderio/Projects/rs-nfc1-sys/vendor/nfc/libnfc/drivers/pn532_spi.c:48:
  /usr/home/xanderio/Projects/rs-nfc1-sys/vendor/nfc/libnfc/buses/spi.h:43:12: fatal error: 'linux/spi/spidev.h' file not found
  #  include <linux/spi/spidev.h>
             ^~~~~~~~~~~~~~~~~~~~
  1 error generated.
  gmake[2]: *** [libnfc/CMakeFiles/nfc.dir/build.make:244: libnfc/CMakeFiles/nfc.dir/drivers/pn532_spi.c.o] Error 1
  gmake[1]: *** [CMakeFiles/Makefile2:131: libnfc/CMakeFiles/nfc.dir/all] Error 2
  gmake: *** [Makefile:156: all] Error 2
  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 2

I have identified the problem and have a working patch. I'll try to upstream it, or should we also apply it to the forked version, that this crate uses?

https://github.com/nfc-tools/libnfc/pull/652

I see that nfc-tools/libnfc#652 got merged, that's great. I will pull the latest changes from libnfc to my fork, so that FreeBSD builds will work 😄
My reason for maintaining a fork is that I made some changes to fix MSVC builds in alexrsagen/libnfc which may potentially be breaking. As such, I don't know if it's a great idea to upstream my changes... If you know any libnfc maintainers, feel free to have them take a look at the two latest commits in my fork and maybe we can see about upstreaming those.
In any case, nfc1 and nfc1-sys will be updated later today.

This should be fixed as of 0.1.5.
Can you verify it is working as expected and close, @xanderio?

0.1.5 is compiling under FreeBSD 🎉


Filler list items are rendered as a stacked pile instead of a list Mac OS, Safari after 1.1.2 update

Using Mac OS 10.16.6 and Safari 14.0
After updating to DisqueTV 1.1.2 the filler lists display not as a list but a stacked pile instead. Since items are stacked in place I cannot see individual items. Previous to the "Filler list" feature, I could see all flex items correctly.

Thankfully, epiphany allows me to test webkit in Linux. Next fix releases will contain the fix.


Failed to start host: can't create with that IP, address already in use

What happened
I am trying to create a cluster in minikube with 4 nodes, but unfortunately I always get the error "Failed to start host: can't create with that IP, address already in use". When I set 1 node everything works ok.
 Plan: 1 to add, 0 to change, 0 to destroy.
minikube_cluster.docker: Creating...
minikube_cluster.docker: Still creating... [10s elapsed]
minikube_cluster.docker: Still creating... [20s elapsed]
minikube_cluster.docker: Still creating... [30s elapsed]
minikube_cluster.docker: Still creating... [40s elapsed]
minikube_cluster.docker: Still creating... [50s elapsed]
minikube_cluster.docker: Still creating... [1m0s elapsed]
minikube_cluster.docker: Still creating... [1m10s elapsed]
minikube_cluster.docker: Still creating... [1m20s elapsed]
minikube_cluster.docker: Still creating... [1m30s elapsed]
minikube_cluster.docker: Still creating... [1m40s elapsed]
minikube_cluster.docker: Still creating... [1m50s elapsed]
minikube_cluster.docker: Still creating... [2m0s elapsed]
minikube_cluster.docker: Still creating... [2m10s elapsed]
minikube_cluster.docker: Still creating... [2m20s elapsed]
minikube_cluster.docker: Still creating... [2m30s elapsed]
minikube_cluster.docker: Still creating... [2m40s elapsed]
minikube_cluster.docker: Still creating... [2m50s elapsed]
minikube_cluster.docker: Still creating... [3m0s elapsed]
╷
│ Error: Failed to start host: can't create with that IP, address already in use
│
│   with minikube_cluster.docker,
│   on main.tf line 19, in resource "minikube_cluster" "docker":
│   19: resource "minikube_cluster" "docker" {

Software versions
minikube version
minikube version: v1.27.1
commit: fe869b5d4da11ba318eb84a3ac00f336411de7ba

docker version
Client: Docker Engine - Community
 Cloud integration: v1.0.31
 Version:           23.0.5
 API version:       1.42
 Go version:        go1.19.8
 Git commit:        bc4487a
 Built:             Wed Apr 26 16:17:45 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Desktop
 Engine:
  Version:          23.0.5
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.19.8
  Git commit:       94d3ad6
  Built:            Wed Apr 26 16:17:45 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.20
  GitCommit:        2806fc1057397dbaeefbea0e4e17bddfbd388f38
 runc:
  Version:          1.1.5
  GitCommit:        v1.1.5-0-gf19387a
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Terraform version
Terraform v1.5.7
on linux_amd64
+ provider registry.terraform.io/hashicorp/kubernetes v2.23.0
+ provider registry.terraform.io/scott-the-programmer/minikube v0.3.3

How to reproduce
terraform init
terraform plan
terraform apply

terraform {
  required_version = "~> 1.3"
  required_providers {
    minikube = {
      source  = "scott-the-programmer/minikube"
      version = "0.3.3"
    }
    kubernetes = {
      source  = "hashicorp/kubernetes"
      version = "~> 2.23.0"
    }
  }
}

provider "minikube" {
  kubernetes_version = "v1.26.3"
}

resource "minikube_cluster" "docker" {
  driver       = "docker"
  cluster_name = "spot"
  nodes        = 4
  addons = [
    "dashboard",
    "ingress",
    "default-storageclass",
    "storage-provisioner"
  ]
}

provider "kubernetes" {
  host                   = minikube_cluster.docker.host
  client_certificate     = minikube_cluster.docker.client_certificate
  client_key             = minikube_cluster.docker.client_key
  cluster_ca_certificate = minikube_cluster.docker.cluster_ca_certificate
}

Note
Creating cluster using minikube cli works well
minikube start --nodes 4 -p multinode
minikube start --nodes 4 -p multinode --force
😄  [multinode] minikube v1.27.1 on Ubuntu 20.04 (amd64)
❗  minikube skips various validations when --force is supplied; this may lead to unexpected behavior
✨  Automatically selected the docker driver. Other choices: ssh, none
🛑  The "docker" driver should not be used with root privileges. If you wish to continue as root, use --force.
💡  If you are running minikube within a VM, consider using --driver=none:
📘    https://minikube.sigs.k8s.io/docs/reference/drivers/none/
📌  Using Docker driver with root privileges
👍  Starting control plane node multinode in cluster multinode
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🐳  Preparing Kubernetes v1.25.2 on Docker 20.10.18 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
🔗  Configuring CNI (Container Networking Interface) ...
🔎  Verifying Kubernetes components...
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟  Enabled addons: storage-provisioner, default-storageclass

👍  Starting worker node multinode-m02 in cluster multinode
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🌐  Found network options:
    ▪ NO_PROXY=<IP_ADDRESS>
🐳  Preparing Kubernetes v1.25.2 on Docker 20.10.18 ...
    ▪ env NO_PROXY=<IP_ADDRESS>
🔎  Verifying Kubernetes components...

👍  Starting worker node multinode-m03 in cluster multinode
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🌐  Found network options:
    ▪ NO_PROXY=<IP_ADDRESS>,<IP_ADDRESS>
🐳  Preparing Kubernetes v1.25.2 on Docker 20.10.18 ...
    ▪ env NO_PROXY=<IP_ADDRESS>
    ▪ env NO_PROXY=<IP_ADDRESS>,<IP_ADDRESS>
🔎  Verifying Kubernetes components...

👍  Starting worker node multinode-m04 in cluster multinode
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=2, Memory=2200MB) ...
🌐  Found network options:
    ▪ NO_PROXY=<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>
🐳  Preparing Kubernetes v1.25.2 on Docker 20.10.18 ...
    ▪ env NO_PROXY=<IP_ADDRESS>
    ▪ env NO_PROXY=<IP_ADDRESS>,<IP_ADDRESS>
    ▪ env NO_PROXY=<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>
🔎  Verifying Kubernetes components...
🏄  Done! kubectl is now configured to use "multinode" cluster and "default" namespace by default

|-----------|-----------|---------|--------------|------|---------|---------|-------|--------|
|  Profile  | VM Driver | Runtime |      IP      | Port | Version | Status  | Nodes | Active |
|-----------|-----------|---------|--------------|------|---------|---------|-------|--------|
| dev       | docker    | docker  | <IP_ADDRESS> | 8443 | v1.25.2 | Unknown |     1 |        |
| multinode | docker    | docker  | <IP_ADDRESS> | 8443 | v1.25.2 | Running |     4 |        |
| prod      | docker    | docker  | <IP_ADDRESS> | 8443 | v1.25.2 | Unknown |     1 |        |
|-----------|-----------|---------|--------------|------|---------|---------|-------|--------|

Someone knows how to solve?
Regards.

Thanks for reporting this! This is a bug with the terraform provider where the control plane node is conflicting with one of the worker nodes
I've got a potential fix that I'm testing out whichshould solve this problem 👍🏼

Hello @scott-the-programmer. Everything ok. I appreciate your feedback, thanks.
Terraform execution result
$ terraform apply --auto-approve

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # minikube_cluster.docker will be created
  + resource "minikube_cluster" "docker" {
      + addons                     = [
          + "dashboard",
          + "default-storageclass",
          + "ingress",
          + "storage-provisioner",
        ]
      + apiserver_ips              = (known after apply)
      + apiserver_name             = "minikubeCA"
      + apiserver_names            = (known after apply)
      + apiserver_port             = 8443
      + auto_update_drivers        = true
      + base_image                 = "gcr.io/k8s-minikube/kicbase:v0.0.40@sha256:8cadf23777709e43eca447c47a45f5a4635615129267ce025193040ec92a1631"
      + cache_images               = true
      + cert_expiration            = 1576800
      + client_certificate         = (sensitive value)
      + client_key                 = (sensitive value)
      + cluster_ca_certificate     = (sensitive value)
      + cluster_name               = "terraform"
      + container_runtime          = "docker"
      + cpus                       = 2
      + delete_on_failure          = false
      + disable_driver_mounts      = false
      + disable_metrics            = false
      + disable_optimizations      = false
      + disk_size                  = "20000mb"
      + dns_domain                 = "cluster.local"
      + dns_proxy                  = false
      + download_only              = false
      + driver                     = "docker"
      + dry_run                    = false
      + embed_certs                = false
      + enable_default_cni         = false
      + extra_disks                = 0
      + force                      = false
      + force_systemd              = false
      + host                       = (known after apply)
      + host_dns_resolver          = true
      + host_only_cidr             = "<IP_ADDRESS>/24"
      + host_only_nic_type         = "virtio"
      + hyperkit_vsock_ports       = (known after apply)
      + hyperv_use_external_switch = false
      + id                         = (known after apply)
      + insecure_registry          = (known after apply)
      + install_addons             = true
      + interactive                = true
      + iso_url                    = (known after apply)
      + keep_context               = false
      + kvm_gpu                    = false
      + kvm_hidden                 = false
      + kvm_network                = "default"
      + kvm_numa_count             = 1
      + kvm_qemu_uri               = "qemu:///system"
      + memory                     = "4000mb"
      + mount                      = false
      + mount_9p_version           = "9p2000.L"
      + mount_gid                  = "docker"
      + mount_msize                = 262144
      + mount_port                 = 0
      + mount_string               = "/home:/minikube-host"
      + mount_type                 = "9p"
      + mount_uid                  = "docker"
      + namespace                  = "default"
      + nat_nic_type               = "virtio"
      + native_ssh                 = true
      + nfs_share                  = (known after apply)
      + nfs_shares_root            = "/nfsshares"
      + no_kubernetes              = false
      + no_vtx_check               = false
      + nodes                      = 4
      + ports                      = (known after apply)
      + preload                    = true
      + registry_mirror            = (known after apply)
      + service_cluster_ip_range   = "<IP_ADDRESS>/12"
      + ssh_port                   = 22
      + ssh_user                   = "root"
      + vm                         = false
      + wait_timeout               = 6
    }

Plan: 1 to add, 0 to change, 0 to destroy.
minikube_cluster.docker: Creating...
minikube_cluster.docker: Still creating... [10s elapsed]
minikube_cluster.docker: Still creating... [20s elapsed]
minikube_cluster.docker: Still creating... [30s elapsed]
minikube_cluster.docker: Still creating... [40s elapsed]
minikube_cluster.docker: Still creating... [50s elapsed]
minikube_cluster.docker: Still creating... [1m0s elapsed]
minikube_cluster.docker: Still creating... [1m10s elapsed]
minikube_cluster.docker: Still creating... [1m20s elapsed]
minikube_cluster.docker: Still creating... [1m30s elapsed]
minikube_cluster.docker: Still creating... [1m40s elapsed]
minikube_cluster.docker: Still creating... [1m50s elapsed]
minikube_cluster.docker: Still creating... [2m0s elapsed]
minikube_cluster.docker: Still creating... [2m10s elapsed]
minikube_cluster.docker: Still creating... [2m20s elapsed]
minikube_cluster.docker: Still creating... [2m30s elapsed]
minikube_cluster.docker: Still creating... [2m40s elapsed]
minikube_cluster.docker: Still creating... [2m50s elapsed]
minikube_cluster.docker: Creation complete after 2m53s [id=terraform]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Minikube profiles
$ minikube profile list
|-----------|-----------|---------|--------------|------|---------|---------|-------|--------|

Profile
VM Driver
Runtime
IP
Port
Version
Status
Nodes
Active

spot
docker
docker
<IP_ADDRESS>
8443
v1.27.4
Stopped
4

terraform
docker
docker
<IP_ADDRESS>
8443
v1.27.1
Running
4

-----------
-----------
---------
--------------
------
---------
---------
-------
--------

@scott-the-programmer Thank you for fixing this! I was having this issue, and then I found @edtroleis and your discussion. I hadn't updated to the latest patch version.


fix lint warnings in appimage bash file

For reference: https://github.com/koalaman/shellcheck/wiki/SC2046
Really unlikely to cause problems for us, but better safe than sorry.
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[x] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

I used this once for the DMG script: https://github.com/koalaman/shellcheck

Yeah that's what i used too, they have a editor on their website that prints the warnings as you type (i copy pasted the code into that 🤷 ).
Just found out about it today in the linuxdeploy-plugin-gtk workflow, which wasn't quite happy with me lol.


nz-tooltip doesn't work in Chrome when the button is disabled

Version
1.2.0
Environment
Chrome Version 68.0.3440.84 (Official Build) (64-bit) on Ubuntu 18.04
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-2dvuvq?file=src%2Fapp%2Fapp.component.html
Steps to reproduce
Create a simple nz-tooltip on a disabled button. when the button is enabled, the tooltip works, but when it's disabled, it doesn't. It works fine on Firefox Quantum 61.0.1 (64-bit), but not in Chrome.
What is expected?
The tooltip to show even if the button is disabled
What is actually happening?
when the button is enabled, the tooltip works, but when it's disabled
Other?

work as design, the disabled button will not emit any hover or mouse over event.


pinouts

Created a graphic (gimp and png format) that shows which pins are which on some of the jumpers.

Accepted on https://github.com/beagleboard/beaglebone-blue/pull/3


🐞 Bug report: Tenant-wide Extensions Not Loading by Default

⭐ Priority
(Low)☹ Something is a little off
📝 Describe the bug
The tenant-wide extensions are not loading as expected when the setting showTenantWideExtensions is using its default value (true).
👣 Steps To Reproduce

Use the extension with the default settings (do not manually update showTenantWideExtensions in settings).
Observe that tenant-wide extensions are not loaded.

📜 Expected behavior
Tenant-wide extensions should load by default when the showTenantWideExtensions setting is true.
📷 Screenshots

❓SharePoint Framework Toolkit version
4.1.1
❓Node.js version
v20.9.0
🤔 Additional context
No response

@Saurabh7019 and if you click on refresh view button in the upper right corner of this panel? Or refresh the account view?

Refreshing isn't resolving the issue. Both showTenantWideExtensions and showServiceIncidentList settings are not working. It requires a code fix as you can see below:

thanks for the heads up and investigation. Just had a quick check and in my case seems to be working perfectly fine 🤔

never the less I think I will double check the code and try to check why you have string there instead of boolean. It seems somewhere we are loosing types 🤷♂

@Saurabh7019 sorry yesterday I doze off on the laptop and forgot to perform a pre-release with this fix 🙏
I did one just now https://github.com/pnp/vscode-viva/actions/runs/11230480092/job/31217916362
should be present on VS Code marketplace within 5-10 min


Support timestamp format "%Q"

The current timestamp format does not work properly when format string is "%Q".
This is because Date#_strptime return Rational object and it does not have sec_fraction data.
I copied source from the following codes.
https://github.com/ruby/ruby/blob/trunk/lib/time.rb#L430-L437
ref: strftime
Ruby test code.
puts Time.strptime("1470148959542","%Q").utc.strftime("%Y-%m-%d %H:%M:%S.%L")
2016-08-02 14:42:39.542

Configuration and data.
in:
  type: file
  path_prefix: csv/sample_
  parser:
    charset: UTF-8
    newline: CRLF
    type: csv
    delimiter: ','
    quote: '"'
    escape: '"'
    trim_if_not_quoted: false
    skip_header_lines: 1
    allow_extra_columns: false
    allow_optional_columns: false
    columns:
    - {name: id, type: long}
    - {name: time, type: timestamp, format: "%Q"}
#out: {type: stdout}

id,time
1,1470148959542
2,1470148959542
3,1470148959542
4,1470148959542

Current
+---------+-------------------------+
| id:long |          time:timestamp |
+---------+-------------------------+
|       1 | 1970-01-01 00:00:00 UTC |
|       2 | 1970-01-01 00:00:00 UTC |
|       3 | 1970-01-01 00:00:00 UTC |
|       4 | 1970-01-01 00:00:00 UTC |
+---------+-------------------------+

After fix.
+---------+-----------------------------+
| id:long |              time:timestamp |
+---------+-----------------------------+
|       1 | 2016-08-02 14:42:39.542 UTC |
|       2 | 2016-08-02 14:42:39.542 UTC |
|       3 | 2016-08-02 14:42:39.542 UTC |
|       4 | 2016-08-02 14:42:39.542 UTC |
+---------+-----------------------------+

Additional Reference.
Twitter (Japanese Text)

Good catch but, I'm still not sure that this fix works fine or not.
> Date._strptime('1470148959542', '%Q')
=> {:seconds=>(735074479771/500)}

I close this ticket because #531 was merged into master branch and could fix this issue.

Thanks!


feat: Implement restore user service

Pull Request Test Coverage Report for Build #267
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.7%) to 81.25%

Files with Coverage Reduction
New Missed Lines
%

../../../.gradle/daemon/8.9/domain/src/main/kotlin/com/lomeone/domain/user/entity/DeletionRequest.kt
1
92.86%

Totals

Change from base Build #266:
0.7%

Covered Lines:
507

Relevant Lines:
624

💛  - Coveralls


MINOR: Remove nullable from addingReplicas and removingReplicas

This change was discussed in KIP-746 and are actually included in #10753. I'm pulling them out here since there are NPEs on trunk as a result of the nullable fields in the PartitionRecord.

Thanks, @mumrah !
Can you use Replicas.EMPTY instead of new int[0]? It saves an allocation.
LGTM after that


Is there a way to disable mod_auth_openidc session management feature

Thanks for this great mod.
I encounter a problem with the session management, mod version 1.7.2/1.7.3.
from the wiki:

If the OP supports session management, it will automatically be used by mod_auth_openidc.

I use mod_auth_openidc to protect Zabbix，so there is no OP/RP hidden iframes. mod_auth_openidc generate new mod_auth_openidc_state_ cookie everytime page refreshes, the cookie size get larger and larger quickly, final cause 'bad request' error.
So, is there some config options to disable the session management?

I suspect this is unrelated to session management itself. Each request to a protected endpoint results in a separate mod_auth_openidc_<id>  to allow for concurrent request handling. That feature is useful for session management but also required in general to allow for concurrent authentication requests e.g. when multiple tabs in a browser are opened at the same time.
To determine the most useful way forward, it would be good to post a browser trace so I can analyze what is happening. I need to see exactly what type of access/pages result in this behavior.
Note that a possible solution may be to use the OIDCReturn401 directive on paths that would not benefit from a browser redirect anyway, e.g. APIs, AJAX endpoints, or (protected) content  that is never accessed directly but only included in protected pages.

Thanks for reply so quickly. I will try OIDCReturn401.
On Sat, Feb 28, 2015 at 4:09 PM, Hans Zandbelt<EMAIL_ADDRESS>wrote:

I suspect this is unrelated to session management itself. Each request to
a protected endpoint results in a separate mod_auth_openidc_ to allow
for concurrent request handling. That feature is useful for session
management but also required in general to allow for concurrent
authentication requests e.g. when multiple tabs in a browser are opened at
the same time.
To determine the most useful way forward, it would be good to post a
browser trace so I can analyze what is happening. I need to see exactly
what type of access/pages result in this behavior.
Note that a possible solution may be to use the OIDCReturn401 directive
on paths that would not benefit from a browser redirect anyway, e.g. APIs,
AJAX endpoints, or (protected) content that is never accessed directly but
only included in protected pages.
—
Reply to this email directly or view it on GitHub
https://github.com/pingidentity/mod_auth_openidc/issues/53#issuecomment-76516510
.

--
尹川 架构组SA
QQ: 254113859
微信: $QQ
Google Plus<EMAIL_ADDRESS>

Sorry for replying lately.
I do further test and find some problem with clear unused state cookies.

On non-login status (cookie expires or first login) open several protected pages in different tabs and stop at Google Auth login page (means not login), every tab generate a mod_auth_openidc_state_ cookie, then close all these pages, leave the mod_auth_openidc_state_ cookies uncleaned.

When cookie expires, if page send multi-request to the protected page(like update graphs in Zabbix), the same thing happens as above.

On non-login status (cookie expires or first login) open the same page in several different tabs and stop at Google Auth login page (means not login), I must login on every tabs, just refresh the rest tabs can't let me in(because the state cookie exists).

All these problem cause by the state cookie. I hope I have made it clear!

I'm sorry but there's nothing really that is a bug or anything:

multiple parallel logins are supposed to create different state cookies; once you get redirected to the Provider, control over the cookie is lost from mod_auth_openidc until the browser returns from the Provider with an authorization response (either succesful or unsuccesful); by very nature of the web you can't expect cookies to be cleaned if you're not visiting the website that set them

"session cookie expired" will indeed trigger the same behaviour as "no session cookie", that's the intended behavior

that's because Google chooses to implement their login pages in this way; mod_auth_openidc is not involved at that point and cannot change the behavior you observe

What I would recommend is to create a setup in which you:

don't open multiple browser tab before you've authenticated successfully in a single tab (that will fix 1. and 2.)
increase the session idle timeout from the default of 300 seconds using OIDCSessionInactivityTimeout  so that it matches your requirements (e.g. make it valid for a day or so)

Would that help?

I'm assuming that it is OK to close this ticket?

It's OK to close this ticket.


Figure out how to properly configure multiple OIDC issuers

#96
Right now we're fine with a single "audience" or "client id" field across our issuers, but it's possible we might need different ones (and even client secrets) for each individual one.

fixed by https://github.com/sigstore/fulcio/pull/105
closing


Incorrect GlobeView stationary platforms

Campaign deployment flight maps shown in GlobeView are displaying some incorrect icons.
For example:
INTEX-NA 2D view:

INTEX-NA 3D view (rocket icon in place of vehicle):

IMPACTS 2D

IMPACTS 3D

@LanesGood Is this solved with #706?

@willemarcel no, the issue is present in that branch as well

@LanesGood I've just tried the code on main and the icons are correct in both maps. Could you try that again?
Impacts in 3D:

I'm also no longer seeing the issue - perhaps this was fixed in #706, or was a caching issue - I cleared all caches and all icons appear to be correct.


Upgrade to latest version

Hello detailyang,
I created an updated version of your code on OPM but since your the author I think its only right if you create a proper new realease (including OPM release) I added all the code changes I have doen to this repo to get it accepted by OPM so you can check it out at your leasure.
Lawri-van-Buel

Also added soem code to check if a method is allready allowed and than to not include it in the list a second time.


Running custom metrics in background

Hey there,
from the README.md I understand that if ".add()" method is not used, default metrics are executed in the background.
What I'm trying to do - is to execute also custom metrics in background.
Is it possible?

@trallnag Thx for the answer, would you mind answering one more question?:)
I need to increase counter value basically in one of my endpoints. But I'm not sure how to register that counter without closure.
I mean, in examples, the counter lives in closure, and only accessible from it, but that way I cannot use it from endpoint

Accessing metrics defined within these closures is not possible from endpoint functions, I'm afraid. At least to my knowledge. Why do you want to access it from endpoint?
Can't you define the metric yourself somewhere outside the endpoint and reference it then? Basically not using PFI and just using prometheus client library?

I'm trying to do so, and it looks like PFI still adds this metric into metrics endpoint (that's good:))

@BohdanKaminskyi can you provide this as an example?


CTest integration

This is a feature request.
I see , in docs, piece of cmake script for the getting this from github.
however would be nice to have the script (cmake) for automatically adding CATCH scripts to CTest.
to make a single fully workable script which clones the Catch, scan the project for the tests and adds CTest target.
There is a few scripts , somewhere in github which do this, I'm using this ability from time to time ,
would be perfect to have such module in Catch distribution, your opinion?

Not against it, but I admit I don't want to do this myself.

okay, I'll review which I'm using one,
if this will look okay for a publishing , I'll create PR


deduplicate wasm

fixes #564

it seems like public/penumbra-logo.svg is unused in the extension

noticed duplication, LGTM!


Define and test properties of the Approval phase

This will be likely done in combination with defining the properties of the other phases.


why do you use Kafka

Hi, I am reading your project and I love this project
I have a question, why do you choose Kafka in your project instead of others like RabbitMQ or ZeroMQ, are there any special feature but others dont have it. Can you share me about it. I am wondering when I should choose Kafka instead of others like RabbitMQ or ZeroMQ

Hi, kafka is distributed streaming platform allow you to realtime stream processing, high performance. In my example, i choose kafka because i wanna to demonstrate concept process event streaming and persistent result into analytic database. If your case is not required realtime streaming processing, just queuing event, you can simplify choose another message broker like activemq, … etc. The answer always depends on your context.


State getting overwritten by Nones no matter what

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangGraph/LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangGraph/LangChain rather than my code.
[X] I am sure this is better as an issue rather than a GitHub discussion, since this is a LangGraph bug and not a design question.

Example Code
State(TypedDict):
    messages: Annotated[list, add_messages]
    path: str
    typ: str = 'defaulttype'
    legalargs: set = {'arg1','name'}

def someNode(state: State):
    ...
    state['path'] = updateOperation
    return State(**state)

flow = StateGraph(State)
flow.add_node(
...

graph = flow.compile()

state = await graph.ainvoke({"path": 'mypath'})

Default state values are always overwritten with None {'legalargs':None,'typ':None}, I've tried using pydantic BaseModel, custom __init__ in State, nothing can stop this bizarre behavior!

Error Message and Stack Trace (if applicable)
No response
Description
Default state values are always overwritten with None {'legalargs':None,'typ':None}, I've tried using pydantic BaseModel, custom init in State, nothing can stop this bizarre behavior!
System Info
AttributeError: module 'langgraph' has no attribute 'version'

I'm not sure what your pydantic code looked like, but just wanted to point out that TypedDicts don't support default args, so the 'defaulttype', etc. wouldn't have any effect here.
from typing_extensions import TypedDict, Annotated
from langgraph.graph import StateGraph
from langgraph.graph import add_messages

class State(TypedDict):
    messages: Annotated[list, add_messages]
    path: str
    typ: str
    legalargs: set

def ensure_state(state: State):
    return State(
        messages = state.get("messages") or [],
        path = state["path"],
        typ=state.get("typ") or "defaulttype",
        legalargs = state.get("legalargs") or {"arg1", "name"}
    )
    legalargs: set = {'arg1','name'}

def someNode(state: State):
    print(f"Entering someNode: {state}")
    state = ensure_state(state)
    state['path'] = "foo"
    return State(**state)

def someNode2(state: State):
    print(f"Entering someNode2: {state}")
    state['path'] = "bar"
    return State(**state)

flow = StateGraph(State)
flow.add_node(someNode)
flow.add_node(someNode2)
flow.add_edge("__start__", "someNode")
flow.add_edge("someNode", "someNode2")
graph = flow.compile()

state = await graph.ainvoke({"path": 'mypath'})
print(state)

Prints out:
Entering someNode: {'messages': [], 'path': 'mypath', 'typ': None, 'legalargs': None}
Entering someNode2: {'messages': [], 'path': 'foo', 'typ': 'defaulttype', 'legalargs': {'arg1', 'name'}}
{'messages': [], 'path': 'bar', 'typ': 'defaulttype', 'legalargs': {'arg1', 'name'}}

Which matches expectations here


Categorical outcomes are truncated to 32 chars

Categorical outcomes are truncated to 32 characters after being submitted. They should be limited in the UI prior to submission so the market creator knows what data is actually stored. 32 characters may be a short limit for this field, it may be worthwhile to consider 64 chars.

@JohnDanz I'm assigning you here. This should be done post-launch. I'll create a CH ticket in v1.0.1.

This is fixed, closing issue.


Update README with local environment warning

@ydeshayes Why was this change made in the first place?
Wasn't the previous version returning null perfectly fine?


DEPRECATED: az cosmosdb list-keys

export MONGODB_PASSWORD=$(az cosmosdb list-keys --name $COSMOSNAME --resource-group $RGNAME --query "primaryMasterKey" -o tsv)
This command has been deprecated and will be removed in a future release. Use 'cosmosdb keys list' instead.

 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.:x: ghstahl sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR @ghstahl. I noticed the cosmos issue you noted as well. Happy to merge, but would you mind submitting again with just that change, as this PR has a bunch of other unrelated updates wrapped in as it is now.


Upgrade Component: tfstate-backend

what

Updates to latest

why

Consistency and new vendoring

Rerunning pre-commit after labeling with terraform/1.x


fix(Artwork): changes one of the parameters to be commented out

Description
This pr fixes the issue with shouldScale control not working on Artwork. The issue was resolved by commenting out one of the Artwork.parameters = {....
Looking through the commit history I can't seem to track down where we introduced having to parameter assignments but we can't do this, Storybook gets confused on which one to use.
I'm guessing we had two for a reason at some point. We need to decide which one to keep or we could create two stories.
References
LUI-1238
Testing
On OS side, change the imageScale prop to any number in the Artwork.styles.js, yarn start
Got to Artwork controls and toggle shouldScroll
Automation

Checklist

[ ] all commented code has been removed
[ ] any new console issues have been resolved
[ ] code linter and formatter has been run
[ ] test coverage meets repo requirements
[ ] PR name matches the expected semantic-commit syntax

Test Execution Failed.

Test Execution Failed.

Sanity tests are fail if we comment out the second one.  It appears that when both Artwork.parameters are available, it uses the second one.

Test Execution Passed.

Test Execution Failed.

Test Execution Passed.

Test Execution Failed.

Test Execution Passed.

Since the imageScale is undefined, it's not showing up in the theme styles panel, so we don't actually see shouldScale doing anything in the story. Can we set this to 1 by default?

Test Execution Failed.

Test Execution Failed.

Test Execution Passed.

Test Execution Passed.

:tada: This PR is included in version @lightningjs/ui-components-v2.19.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SkinFile Generator translate

I'd wish to let players to use FTP client to upload their own skins, so I'm not required to do the job manually day by day.
However, the https://riflowth.github.io/SkinFile-Generator/ were written in English and people can't understand what are the website is talking about.
Could we recognize their browser language and show translated text? I can help with translate it to my language, or if the website can run locally (run an instance on <IP_ADDRESS> without internet connection)? So I can dig into the JavaScript or HTML files to make a translation then package them to players.

I've made a translation patch for you!


Build fails with 1.8.0_111

Currently looking into why the (travis) build fails with this version.

@nickbabcock It might be related to the ALPN boot stuff (for HTTP/2 support in Jetty). That's usually the culprit with new Java versions.
See https://www.eclipse.org/jetty/documentation/9.3.x/alpn-chapter.html#alpn-versions

Yup that makes perfect sense since the tests fail on HTTP2 module. Do you know what the profile should be?

@nickbabcock You can try adding Java 8u111 to the POM profile and use the same version of alpn-boot that worked for Java 8u102.
https://github.com/dropwizard/dropwizard/blob/master/dropwizard-http2/pom.xml#L282-L290

Ok, I'm testing it locally -- just finished getting a u111 machine. I'll push if it works.

Build passed, so I'll close this, but it does look like there were a bunch of test failures...but they didn't fail the build 😕


simplify 2_renamed.smk

As per PR 45 comments, we can take advantage of snakemake's ability to create directories automatically. There is a lot of code duplication in the big if/else statement, we can also significantly simplify this as well. I would also recommend using the built-in shell()function for doing things like cat or cp, as it  (should?) print to output as well when using snakemake --printshellcmds.

fixed in v2.0.0


Determine if the Android ZoomPage transition should actually be the default.

See also:
the android zoom page transition relies on a cache to be effective, but these cache causes fidelity problems with common patterns. I will investigate some existing android samples to determine if this is actually the most current android page transition.

From

https://m3.material.io/styles/motion/transitions/transition-patterns

I do not see the zooming behavior, that seems to have been an "M2" transition. there are different lateral/top-level transitions which we could initially approximate

Spec is here: https://github.com/material-components/material-components-android/blob/master/docs/theming/Motion.md#shared-axis
The old zoom transition is the m2 one:
See https://m2.material.io/design/navigation/navigation-transitions.html#peer-transitions , Top Level transitions

FYI @goderbauer @johnmccutchan
I also ran through compose-samples repo and could not find an example of the old transition.

Looks like we need to update our transition. @HansMuller Is this already on the list of remaining work for M3?

CC @QuncCccccc

FYI @QuncCccccc I have plans to make PredictiveBackPageTransitionsBuilder the default transition for Android (like this). It has a fallback transition that it uses when not doing predictive back, currently set to ZoomPageTransitionsBuilder. So assuming that the solution to this issue will be a new PageTransitionsBuilder class, we will need to update that fallback in PredictiveBackPageTransitionsBuilder. It also probably makes sense to check what the new transitions looks like during a predictive back gesture.

Thanks a lot for the information!


Screenshot outdated

The screenshot in step 4 Create a virtual network gateway seems outdated.  In my version of the screen I have a Public IP address heading with 6 properties: 1. Public IP address: default value -> Create new, 2. Public IP address name -> text box -> empty, 3. Public IP address SKU -> with locked value: Basic, 4. Assignment -> Greyed out, 5. Enable Active-Active Mode -> default selected: disabled; 6. Configure BGP ASN -> default select: disabled

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

ID: 59e72010-dab4-54d9-1409-c95b0ce60824
Version Independent ID: 0da5450c-6181-1c27-93c0-b0c698d2d598
Content: Connect a computer to an Azure virtual network using Point-to-Site and native Azure certificate authentication: Azure Portal
Content Source: articles/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@cveld, Thanks for your feedback. We have assigned this issue to the respective author for updating the document accordingly.

@cherylmc, Could you provide your insights on this?

Sure! I can take a doc bug against this. Thanks for bringing it to my attention.

I've updated the screenshots and this will publish tomorrow. Thanks again! #please-close


Config syntax parsing and signature_version in S3

Discovered I had a syntactically incorrect ~/.aws/config INI file, the following snippet was in it.
[default]
output = json
region = ap-southeast-2
s3 = signature_version = s3v4

When attempting to get a client to S3 I got the following traceback:
  File "s3_sse_key_compromise.py", line 37, in handler
    print session.client('s3')
  File "/usr/local/lib/python2.7/site-packages/boto3/session.py", line 263, in client
    aws_session_token=aws_session_token, config=config)
  File "/usr/local/lib/python2.7/site-packages/botocore/session.py", line 836, in create_client
    client_config=config, api_version=api_version)
  File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 70, in create_client
    verify, credentials, scoped_config, client_config, endpoint_bridge)
  File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 224, in _get_client_args
    verify, credentials, scoped_config, client_config, endpoint_bridge)
  File "/usr/local/lib/python2.7/site-packages/botocore/args.py", line 45, in get_client_args
    endpoint_url, is_secure, scoped_config)
  File "/usr/local/lib/python2.7/site-packages/botocore/args.py", line 103, in compute_client_args
    service_name, region_name, endpoint_url, is_secure)
  File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 300, in resolve
    resolved, service_name, region_name, endpoint_url, is_secure)
  File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 317, in _create_endpoint
    if self._is_s3_dualstack_mode(service_name):
  File "/usr/local/lib/python2.7/site-packages/botocore/client.py", line 351, in _is_s3_dualstack_mode
    enabled = self.scoped_config.get('s3', {}).get(
AttributeError: 'str' object has no attribute 'get'

When I finally realised that the syntax of my INI was incorrect I fixed it in the following manner
[default]
output = json
region = ap-southeast-2
s3 =
    signature_version = s3v4

This fixed my error, is s3 = signature_version = s3v4 considered syntactically incorrect? If so should the config syntax issue be caught before it gets to the point where the s3 key is queried for a dictionary and fails when it gets a string? This took a bit of time to work out where the source of my problems were and it would be good to get a clearer error message.

Yea, that's because the INI format isn't particularly expressive, so we've had to layer on additional conventions to deal with more complex data types. I do think that it would be a great feature to validate the configuration though, so I'm going to mark this as a feature request for that.


Add community projects section

@rubiojr - you ok with me mentioning your projects like this?

Of course, all good!


Insert PIL.Image into document

Can there be an option to use a PIL.Image object when using the .add_picture function? This would be useful for things like editing an image using PIL before inserting the image into a document or grabbing an image from the internet without having to save it first.

I'd be disinclined to add something like that. It's pretty application-specific and the image must be converted to a PNG, JPG, etc.  "file" before saving in PowerPoint anyway, since that's the format PowerPoint understands.
There's no need to save it to disk, by the way, an io.BytesIO object works fine wherever python-docx otherwise takes a file path for an image.
A short function like this in your application code would provide a handy wrapper:
import io

def image2file(image):
    """Return `image` as PNG file-like object."""
    image_file = io.BytesIO()
    image.save(image_file, format="PNG")
    return image_file

...

document.add_picture(image2file(image))


Add windows support

This pull request will add support for using this action on windows-latest.
I noticed also that main.sh was creating a temporary directory, but not changing into it - so not using it at all, I believe.
I have added a test for windows-latest to verify the change.
Note, however, that rebar3 is not included in the erlang solutions distributions for windows (only have "standard" distributions), so it was not included in the test.

This is incredible work! Thank you so much!

You're most welcome :)
If possible, can we have a tag for this version so I can fix on this version in my relx MR?

Appologies, I completely forgot how the GitHub action release system works. I'll do that right away

Appologies, I completely forgot how the GitHub action release system works. I'll do that right away

Awesome, thanks!

Alright! I think I've pressed all the right buttons, let me know if there
are any issues. Thanks!
On Fri, 22 May 2020 at 15:37, Regan Heath<EMAIL_ADDRESS>wrote:

Appologies, I completely forgot how the GitHub action release system
works. I'll do that right away
Awesome, thanks!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/gleam-lang/setup-erlang/pull/3#issuecomment-632725578,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOZVBQA2MDNMMQYBQ2HVB3RS2E3TANCNFSM4NHKXOMQ
.


Include it on awesome-gpt4

I see a lot of recent activity in this repository.
When you think it's appropriate, you can submit it to https://github.com/radi-cho/awesome-gpt4/.

@radi-cho Thanks! https://github.com/radi-cho/awesome-gpt4/pull/2

updated.


Day Night Toggle

Created Day Night Toggle Website using HTML and CSS. So, Solved Issue #9 . Thanks for the patience.

please create demo folder then move demo there

Hi @irshadmd completed. Pls check now.


FINERACT-428 Parallelization of Jobs :Parallelizing and paging of update loan summary

Opening a new PR based on feedback from PR #464

@wkk91193 would you mind to re-rebase this, so that Travis CI will run on it?
@avikganguly01 will you re-review this as requested in #464 ?

@vorburger will rebase it once green light given from @avikganguly01

@wkk91193 I'm currently doing a quick run of review on all open PRs, and was just wondering if you would still like to get this very old open one merged? If so, could you rebase it, so that we can see if it actually builds on Travis? (FYI when this PR was raised, this project did not have automated CI on Travis set up; but meanwhile it does.)
Without hearing back within let's say ... 1 month, I would be inclined to just close this (un-merged).

Let's close this now, just to have less open PRs; you can open a new PR with this when you resolved the feedback and conflicts.

Reopened a new PR after a rebase #687


The Input component is not type-checked correctly

This commit in my reproduction repo.
The built-in Input component supports passing both value and @value (as well as a number of other similar properties). Glint doesn't - when using a property without a @, the following errors is emitted:
app/components/test-component.hbs:3:1 - error TS2344: Type 'null' does not satisfy the constraint 'Element'.

3 <Input value="asd" />
  ~~~~~~~~~~~~~~~~~~~~~

Ah, the built-in components missed the boat when we landed support for typechecking components' ...attributes. We need to update <LinkTo> and <Textarea> as well, most likely. Thanks for the report!


bug(md-input): MdInput with type date cannot handle placeholders

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Placeholders should always be small for date inputs since it defaults to: mm/dd/yyyy.
What is the current behavior?
Placeholder is large for the default value for date inputs.
What are the steps to reproduce?
http://plnkr.co/edit/MURSTrNjlRj3AGzZkEfO?p=preview
Which versions of Angular, Material, OS, browsers are affected?

Angular version: 2.0.0-rc.4
Material version: 2.0.0-alpha.6
Browser: Chrome Version 51.0.2704.106 (64-bit)
Language: TypeScript 2.0.0-dev
Built with: Webpack

The date input will get a picker. For now I'd suggest styling the label as if it was always filled in (that's what I do).

@msegers: I see, styling it though seems like an ugly hack to be honest... I added a pull that fixes the bug described above.


bug: published packages do not contain compiled source code

From: https://www.npmjs.com/package/rollup-plugin-oxc-transform/v/0.0.2?activeTab=code

Fixed in v0.0.3


Create events for SetScriptedPositionAndDirection

For New Contributors
How to contribute
Description

Instead of using a movement ticking system, we should update the agents target position using reactive events.
Create patches and events for controlled agents, see AgentDamage as an example.
Intended Design

N/A
Location

Create a new branch from battles-vertical-slice
Related Issues

N/A
Requirements

N/A
Additional information

N/A
Definition of Done

[ ] Class level comments exist for all new classes.
[ ] XUnit tests exist for every method that does not require the game to be ran.

This is never called, not necessary to implement


issue-112

Correcting the bug of not using the serializer during the publishing of the event.

fixes #111 and #112


storagemigration: capture failcleanup logs in logfile

reorder the defer statements in the migrate function to only teardown
the logger after the failcleanup function ran. otherwise errors logged
there won't show up in the logfile
Change-type: patch
Signed-off-by: Robert Günzler<EMAIL_ADDRESS>

@balena-ci I self-certify!


link advanced object to text file

Insert any advanced object (text, mermaid, UML, SQL, CSV) with its content being read from a text file (e.g. in onedrive/etc.), instead of having to paste the code into a textbox.
This way, it would be possible to generate those advanced objects programmatically and have the diagram updated automatically.
This would be great especially for the CSV input.

CSV import is a duplicate of https://github.com/jgraph/drawio-desktop/issues/591 . Mermaid and PlantUML aren't core features, you would run those projects yourself to achieve that.


[BUG] Remove-PnPClientSidePage : Method not found

Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
Reporting an Issue or Missing Feature
Remove-PnPClientSidePage : Method not found: 'System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 Enumerator.MoveNextAsync()'.
Expected behavior
I want to remove a page: Remove-PnPClientSidePage -Connection $Connection -Identity $PageName -Force
Actual behavior
Command gives me the next error: Remove-PnPClientSidePage : Method not found: 'System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1 Enumerator.MoveNextAsync()'.
Steps to reproduce behavior
Remove-PnPClientSidePage -Connection $Connection -Identity $PageName -Force
What is the version of the Cmdlet module you are running?
I run version: 1.8.0 PnP.PowerShell
Which operating system/environment are you running PnP PowerShell on?
[X ] Windows 11
Linux
MacOS
Azure Cloud Shell
Azure Functions
Other : please specify
I use Powershell ISE with Powershell 5.1
In PNP.Powershell version 1.3.0 it works! but after that it stopped working!
I Also tried tried it in version: 1.9.0 however there it does not work either.

Also Add-PnPPage -Connection $Connection -Name $PageName -LayoutType Home -PromoteAs HomePage gives me the same error.
I can not find anything about these errors.. I uninstalled PNP PowerShell completely en reinstalled it again (to version 1.9.0) but it keeps giving this error.
The script connects using an Azure Active Directory registered application using a locally available certificate containing a private key. However when i try to login using -Interactive or with -UseWebLogin the same error occurred.

tried it on another computer, and there it worked... However i've not been able to discover what could be wrong...


bump metronome to v0.2.0

High level description including:

What does this change enable
What bugs does this change fix
High-Level how things changed

Issues
DCOS-
...
Checklist

[ ] Included a test which will fail if code is reverted but test is not
[ ] Followed relevant code rules Rules for Packages and Systemd

If this is a component/package update, include

[ ] Change Log from last:
[ ] Test Results:
[ ] Code Coverage:

comment with "ready for review" when this is ready and the PR template is filled in.

ready for review

Please create a ticket to track creating these missing unit tests and link it here so that we don't rely on the few integration tests in this repo.

@jdef  - How do make sure that https://github.com/dcos/metronome/pull/96  does not break anything?  AFAIC, this is the functional change and rest were documentation changes included with this buildinfo.json change.

Looks like there's system (shakedown) tests for metronome. I don't see any
tests that use constraints though.
On Tue, Dec 13, 2016 at 4:11 PM, Senthil Kumaran<EMAIL_ADDRESS>wrote:

@jdef https://github.com/jdef - How do make sure that dcos/metronome#96
https://github.com/dcos/metronome/pull/96 does not break anything?
AFAIC, this is the functional change and rest were documentation changes
included with this buildinfo.json change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dcos/dcos/pull/1023#issuecomment-266863099, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACPVLEii1jzLqFWuSoJCSFf9tE-ZT5lUks5rHwnvgaJpZM4LEkc1
.

Shakedown tests should be linked here. It's better than nothing.

https://jenkins.mesosphere.com/service/jenkins/view/Marathon/job/metronome-job-si-matrix/

shakedown tests run nightly...  looking at history it commonly has partial failure in the test matrix... however all those failures are caused by ccm cluster creation failures or the like.  still waiting on dcos-launcher

Thanks. That give us pointers to what to improve.

https://mesosphere.atlassian.net/browse/DCOS-12216
On Tue, Dec 13, 2016 at 4:59 PM, Amita Ekbote<EMAIL_ADDRESS>wrote:

@amitaekbote approved this pull request.
Please link to the jira to write test cases so it can be tracked.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dcos/dcos/pull/1023#pullrequestreview-12788997, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACPVLMbTFAmpmtw9Csl2uDTenFfZ4MUpks5rHxUvgaJpZM4LEkc1
.


feat/retry ipfs

:alien: CacheStatus
:squid: codgen on CacheStatus
:tada: caaaache
:zap: enable cache; ;

but could remove semicolon or introduce linter?

Linter is there :D but haven't ran yet


Support langchain-google-genai

Describe the Feature
Support Google Gemini API like how OpenAI API is supported as first class citizen.
Why is the feature important for you?
I need to test both OpenAI and Google Gemini APIs, but currently I need to repeat a big chunk of TestsetGenerator.with_openai() for the equivalent of langchain-google-genai code.
Additional context
temperature setting also corrected to prevent error described in #656

PR raised: #677, but breaks Python <=3.8 so careful review is needed.

I have same error when using gemini an Ragas, any suggestions?

@RazHadas @joy13975 How have you used gemini with Ragas? I need this. Kindly help me out.

@nehas0326  here is an example of using gemini with Ragas: https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/use-cases/retrieval-augmented-generation/rag-evaluation/ragas_with_gemini.ipynb


[Snyk] Fix for 3 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

frontend/package.json
frontend/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Uncontrolled resource consumption SNYK-JS-BRACES-6838727
  169

Regular Expression Denial of Service (ReDoS) SNYK-JS-SEMVER-3247795
  169

Inefficient Regular Expression Complexity SNYK-JS-MICROMATCH-6838728
  124

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Uncontrolled resource consumption

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)