RIVET_API_ENDPOINT passed to docker build

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #175

PR #176   👈

This stack of pull requests is managed by Graphite.


New ImagePart is created as .bin instead of real extension

Describe the bug
I have asked the question on Stackoverflow:
https://stackoverflow.com/questions/75100804/embedding-image-as-new-imagepart-creates-a-bin-file-using-open-xml-sdk
I don't expect to get any answer there, and I am also increasingly curious whether, this is an implementation error but an issue in the SDK.
Issue is, I create new embedded image in Excel and it is saved to /xl/media/image.[WhatEverExtensionItIs]
If I create a new ImagePart with the SDK and feed it data like this:
ImagePart new_ImagePart = worksheetPart.AddImagePart(ImagePartType.Tiff);
stream.Position = 0;
new_ImagePart.FeedData(stream);

Then the file will be saved as /xl/media/image.bin.
This behaviour it should not do. It should write the extension as .tiff, since this is the ImagePartType, that I specify. Or secondly it should read the stream and identify it as .tiff through i.e. a magic number.
If you unzip the package and change the image extension to real extension, then the image will open perfectly and I have used a TIFF validator to confirm the image is well-formed.
What do you think of this? Am I doing anything wrong in my implementation, or can we change the SDK to write real extension like Excel does?
Screenshots
If applicable, add screenshots to help explain your problem.
To Reproduce
Steps to reproduce the behavior:

Use the supplied code to stream any TIFF image (or change ImagePartType to any other image type) to a new ImagePart
Unzip the spreadsheet and go to /xl/media/ to find the file as a .bin
Change extension to .tiff and the image will open perfectly

Observed behavior
ImagePart creates a new image with .bin extension
Expected behavior
ImagePart should create a new image with extension based on ImagePartType.
Desktop (please complete the following information):

OS: Windows 11
Office version: 2212
.NET Target: .Net latest version
DocumentFormat.OpenXml Version: 2.19

I'm having the same issue within the Word document when embedding png files.
In compare with the older version 2.0.5022 of DocumentFormat.OpenXml the image is added there as .png.
@Asbjoedt Do you have a working fix for the issue?

@faerbersteve I think the deleting the above lines are only a part of the way.
I found the following methods in the SDK, which has 0 references. This should be amended, because they are the ones providing the extension and contentType from ImagePartType. I don't have a clear overview of how to proceed from here though.
       internal static string GetContentType(ImagePartType imageType)
            => imageType switch
            {
                ImagePartType.Bmp => "image/bmp",
                ImagePartType.Gif => "image/gif",
                ImagePartType.Png => "image/png",
                ImagePartType.Tiff => "image/tiff",

                // ImagePartType.Xbm => "image/xbm",
                ImagePartType.Icon => "image/x-icon",
                ImagePartType.Pcx => "image/x-pcx",

                // ImagePartType.Pcz => "image/x-pcz",
                // ImagePartType.Pict => "image/pict",
                ImagePartType.Jpeg => "image/jpeg",
                ImagePartType.Emf => "image/x-emf",
                ImagePartType.Wmf => "image/x-wmf",
                ImagePartType.Svg => "image/svg+xml",
                _ => throw new ArgumentOutOfRangeException(nameof(imageType)),
            };

        internal static string GetTargetExtension(ImagePartType imageType)
            => imageType switch
            {
                ImagePartType.Bmp => ".bmp",
                ImagePartType.Gif => ".gif",
                ImagePartType.Png => ".png",
                ImagePartType.Tiff => ".tiff",

                // ImagePartType.Xbm => ".xbm",
                ImagePartType.Icon => ".ico",
                ImagePartType.Pcx => ".pcx",

                // ImagePartType.Pcz => ".pcz",
                // ImagePartType.Pict => ".pict",
                ImagePartType.Jpeg => ".jpg",
                ImagePartType.Emf => ".emf",
                ImagePartType.Wmf => ".wmf",
                ImagePartType.Svg => ".svg",
                _ => ".image",
            };

Hi @twsouthwick, @tomjebo
I have written a fix for this, you can see here: https://github.com/dotnet/Open-XML-SDK/compare/main...Asbjoedt:Open-XML-SDK:ImagePartFix?expand=1
I am not entirely sure the fix works, because I have problems building Open XML SDK to test the new code (approx. 200 namespace references are missing). Maybe you can help me out somehow.
The fix does two things:

Remove any .bin references for ImagePart
Clean up ImagePart code by removing several lines of outcommented code related to image file formats, that were not implemented when the initial code were made.
The code also recommits the code in the recently approved PR for https://github.com/dotnet/Open-XML-SDK/pull/1304 (this is a mistake from me, I will be better at keeping commits properly branched in the future, but the recommit should not be an issue)

This file is where the .bin is coming from:
https://github.com/dotnet/Open-XML-SDK/blob/d46f92b2963f1c21415be08fb21532306e55db75/data/parts/ImagePart.json#L6

Great! thx.
I will verify this when 2.20 is released.

Confirmed fix.

@mikeebowen Not fixed for ImagePart generated by this way:
public static string AppendImagePart(this TypedOpenXmlPart typedOpenXmlPart, byte[] stream, string contentType)
{
    var rId = typedOpenXmlPart.GetNextRelationshipId();

    var imagePart = typedOpenXmlPart.AddNewPart<ImagePart>(contentType, rId);

    using var mStream = new MemoryStream();

    mStream.Write(stream, 0, stream.Length);

    mStream.Position = 0;

    imagePart.FeedData(mStream);

    return rId;
}

@Wenfengcheng , What is the issue you're seeing? Does it use the wrong extension? Does it throw an error? Something else?

@mikeebowen yeah, the extension is wrong which is .bin file, not the origin image extension.

+1 can confirm the same issue of a .bin in /media/image.bin using v2.20:
var codes = ImageCodecInfo.GetImageDecoders();
var mimeType = codes.First(c => c.FormatID == image.RawFormat.Guid).MimeType;

var imagePart = mainPart.AddImagePart(mimeType); // image/jpeg

using var stream = new MemoryStream();
image.Save(stream, image.RawFormat);
stream.Position = 0;
imagePart.FeedData(stream);

@mikeebowen can you take a look to see what's different here?

We'll track this in the new issue as it looks subtly different


chore: refresh licenses directory

/ok-to-merge

I have created #5393 to automate this manual process.

I think we should hold merging this so we have something to test implementing #5393

we agreed to merge this PR. The testing of the automation will be done in a different way.


[Feature Request] WAHA - serve https traffic

To fix "mixed content" issue on https://waha.devlike.pro/dashboard/ we need to handle ssl on WAHA side so it's free to setup self-signed ssl
Links:

https://github.com/devlikeapro/waha/issues/42
https://waha.devlike.pro/dashboard/

👉 Here's Step by step guide on how to set up HTTPS for WAHA

🔒 Security
HTTPS
After you set up the security options - you should set up HTTPS to protect the data in transit and prevent Man-in-the-middle attacks.
That's fine to run it on the local network without HTTPS, but for the production environment, it's a must-have.
Environment variables
WAHA supports HTTPS out of the box.
You can set up the following environment variables to enable HTTPS:

WAHA_HTTPS_ENABLED=true: Set this variable to true to enable HTTPS. By default, it's false.
WAHA_HTTPS_PATH_KEY=/path/to/key.pem: The path to the key file for HTTPS. By default ./.secrets/privkey.pem
WAHA_HTTPS_PATH_CERT=/path/to/cert.pem: The path to the certificate file for HTTPS. By default ./.secrets/cert.pem
WAHA_HTTPS_PATH_CA=/path/to/ca.pem: The path to the CA file for HTTPS. By default ./.secrets/chain.pem

How to set up HTTPS
Here's available options how you can set up HTTPS:

Self-signed certificate - generate a self-signed certificate and use it for HTTPS.
Let's Encrypt - use Certbot to get a free certificate from Let's Encrypt.
Using reverse proxy - use Nginx or Apache as a reverse proxy and set up HTTPS there.


Define azd connection model to Azure Dev Ops

In order to support Azure DevOps as a repository for a azd - project and use its CI pipeline:

azd requires interactacting with Azure devOps in the same way as it can interact with GitHub.

For GitHub, azd relies on the GitHub CLI for operations such as settings secrets, creating new repos, etc.
For Azure DevOps, there are a couple of alternatives for integration:

Rely on the Azure CLI with devops extension

Pros:

azd is already depending on Azure CLI
azd binary size won't increase
Authentication is handled by Azure CLI

Cons:

User must install the extension for az (similar to bicep extension)
azd would only have access to what it is offered by the extension.

Use DevOps go-library

Pros:

No extra-tools dependencies
library handles Authentication (requires only org name and PAT as input)

Cons:

azd binary size increase (might be just a few MB)
User is asked for a PAT and organization name (prompt or env var)
azd depends on what the library functionally exports.

Consume DevOps Rest API directly

Pros:

No dependency or limitations on functionality exported by libraries or external tools

Cons:

azd binary size increase (might be just a few MB)
User is asked for a PAT and organization name (prompt or env var)
azd handles authentication directly for each request

Proposal
Based on the previous options, I suggest following the approach number 3, to avoid tools and library limitations.
But I will open this to the team for feedback.

Implemented with option 2. DevOps SDK for Go


Merge pull request #1 from CorwinDev/main

add calculations to counting game

Hey

Can u accept request


[Core] Improve exception message from TraitsData::getTraitProperty when not imbued

What
Use a consistent exception message for the exception generated when calling TraitsData::getTraitProperty with a trait ID that is not imbued.
Why
Currently TraitsData::getTraitProperty with throw an exception if the requested trait ID is not imbued (but does not throw if the trait is imbued but the requested property is not set).
The exception comes from std::unordered_map::at, and its message is platform-specific.  E.g. MSVC 2019 says invalid unordered_map<K, T> key whereas GCC 9 says  _Map_base::at.
This is clearly not very friendly to end users, and is impossible to unit test in a platform-agnostic way.

Exception throwing is no longer part of this behaviour (returns false instead).


The Kiss of Ra

text: if acting vampire somehow unlock him can play same action because action no reach resolution,pls add that,i dint know that,and im sure another people dint know,or they dint sure
link: https://www.vekn.net/forum/rules-questions/79001-the-question-of-the-month-action-fizzles#101492

Covered by general rulings. Any action that ends (before resolution) can be attempted again.

Covered by general rulings. Any action that ends (before resolution) can be attempted again.

trust me,beter to we have this writen in rules,if people know that they dint ask. i think idea in codex is to we can find fast link rules

trust me,beter to we have this writen in rules,if people know that they dint ask. i think idea in codex is to we can find fast link rules

What you're proposing creates a problem on its own:
If every card that is affected by a general ruling should be linked to such a ruling, then any card not linked to that same ruling is presumed to be unaffected. This means that the codex should either have perfect coverage for such links, or none at all.

What you're proposing creates a problem on its own:
If every card that is affected by a general ruling should be linked to such a ruling, then any card not linked to that same ruling is presumed to be unaffected. This means that the codex should either have perfect coverage for such links, or none at all.

I think is idea of codex site to ruling be fast searchable.
as you can see me link question is fresh,and people dont know answer,or they dont sure in answer

I think is idea of codex site to ruling be fast searchable.
as you can see me link question is fresh,and people dont know answer,or they dont sure in answer

I believe my point remains valid. What the goal is for krcg is for Lionel to decide.

I believe my point remains valid. What the goal is for krcg is for Lionel to decide.

You both make great arguments, and I'll try to take them all into consideration.
@warwar1980 is right that my default stance to choose what to include is simply "if the question was asked, it means people could not figure it out, so let's include it". I try to stay humble as I'm no RD, and prefer to go with "no question is stupid" and try not to dismiss questions or rulings I find trivial. Given how the rulings list is managed, it's actually pretty easy to add a single ruling for multiple cards. However, making sure the coverage is perfect, as says @Snodig, can be tricky if too many cards are involved. So as a rule of thumb, I'd say let's include rulings when they cover less than 50 cards. So far for example, I'v included rulings on:

Cards that end/cancel an action
Blood Brothers Circles
Cards played at action declaration and after action resolution
Black Hand and Seraph Keywords
etc.

I've not included:

Wording Templates confirmations (that's a lot of cards), although this is still a point I'm considering. The question "Is that usable only once per X?" is very common, and although seasoned players invariably answer "Yeah, During X, do Y template", it would still be worth it to have it in the KRCG rulings since so many people ask.
General rulings on some card types or turn steps (eg. "Action modifiers cannot be played by a vampire in torpor unless that vampire is the acting minion.")

Consider the discussion on https://github.com/lionel-panhaleux/krcg/issues/82 for example. I could be swayed into reconsidering, of course: nothing is set in stone. For the matter at hand (current issue), I'd say let's add the ruling where it matters. It can probably be formulated to include all intricacies, which are not so clear in the rulebook (ie. action can be taken again by the same vampire, but it has consumed Veil / Enkil). The number of cards to cover should be manageable.

You both make great arguments, and I'll try to take them all into consideration.
@warwar1980 is right that my default stance to choose what to include is simply "if the question was asked, it means people could not figure it out, so let's include it". I try to stay humble as I'm no RD, and prefer to go with "no question is stupid" and try not to dismiss questions or rulings I find trivial. Given how the rulings list is managed, it's actually pretty easy to add a single ruling for multiple cards. However, making sure the coverage is perfect, as says @Snodig, can be tricky if too many cards are involved. So as a rule of thumb, I'd say let's include rulings when they cover less than 50 cards. So far for example, I'v included rulings on:

Cards that end/cancel an action
Blood Brothers Circles
Cards played at action declaration and after action resolution
Black Hand and Seraph Keywords
etc.

I've not included:

Wording Templates confirmations (that's a lot of cards), although this is still a point I'm considering. The question "Is that usable only once per X?" is very common, and although seasoned players invariably answer "Yeah, During X, do Y template", it would still be worth it to have it in the KRCG rulings since so many people ask.
General rulings on some card types or turn steps (eg. "Action modifiers cannot be played by a vampire in torpor unless that vampire is the acting minion.")

Consider the discussion on https://github.com/lionel-panhaleux/krcg/issues/82 for example. I could be swayed into reconsidering, of course: nothing is set in stone. For the matter at hand (current issue), I'd say let's add the ruling where it matters. It can probably be formulated to include all intricacies, which are not so clear in the rulebook (ie. action can be taken again by the same vampire, but it has consumed Veil / Enkil). The number of cards to cover should be manageable.

The sad truth is that the reason rulings like this one perhaps should be connected to this card, is that the rulebook is not clear on what constitutes a performed vs ended action (for the purposes of NRA).
That being the case, I am amenable to agreeing with you that this is necessary.
Not too happy about it. I guess I should go complain to Ankha instead.

The sad truth is that the reason rulings like this one perhaps should be connected to this card, is that the rulebook is not clear on what constitutes a performed vs ended action (for the purposes of NRA).
That being the case, I am amenable to agreeing with you that this is necessary.
Not too happy about it. I guess I should go complain to Ankha instead.

Thanks for taking the time to explain your stance, Lionel.

Thanks for taking the time to explain your stance, Lionel.


String Literal issue with function overloads

TypeScript Version:
TypeScript <IP_ADDRESS>
Issue
The following code (copy & paste from the TypeScript documentation) doesn't work. It generates a compiler error.
function createElement(tagName: "img"): HTMLImageElement;
function createElement(tagName: "input"): HTMLInputElement;
function createElement(tagName: string): Element;
// ... more overloads ...

function createElement(tagName: string): Element {
    // ... code goes here ...
}

While, just moving the most general signature at the tip of the list will compile correctly.
function createElement(tagName: string): Element;
function createElement(tagName: "img"): HTMLImageElement;
function createElement(tagName: "input"): HTMLInputElement;
// ... more overloads ...

function createElement(tagName: string): Element {
    // ... code goes here ...
}

What you have in the OP has no error (well, except for a missing return in the function body).
The code in the handbook does not have the tagName: string overload, which does result in TS2382: Specialized overload signature is not assignable to any non-specialized signature.. Is that what you meant?
(Using npm 1.8.10 which I believe corresponds to VS <IP_ADDRESS>)

The example doesn't produce an error as @Arnavion points out. We made a change to such behavior. The behavior is in the "typescript@next".

Thanks @Arnavion and @yuit for taking the time to answer my question.
Apparently I changed the code when I copy & pasted removing the issue.
The issue appears when there is no declaration of the non-specialized signature, and there is only the implementation. This is the original code listed in the documentation that generates an error:
Code generating the error
function createElement(tagName: "img"): HTMLImageElement;
function createElement(tagName: "input"): HTMLInputElement;
// ... more overloads ...

function createElement(tagName: string): Element {
    // ... code goes here ...
    return;
}

Code with no error
function createElement(tagName: "img"): HTMLImageElement;
function createElement(tagName: "input"): HTMLInputElement;
function createElement(tagName: string): Element;
// ... more overloads ...

function createElement(tagName: string): Element {
    // ... code goes here ...
    return;
}

This was fixed in #6075.


SquareBraceTransformer - fix for destructing square brace after double arrow

Coverage decreased (-0.002%) to 93.031% when pulling b7c315f61ad8599ee0b00bf62de3a131dd5a4b3e on werlos:fix_SquareBraceTransformer into 80e7ca19ddfc3778de7815bcd9b3569b5d298238 on FriendsOfPHP:master.

Thank you @kubawerlos.


[OTHER] 3.5 Coverage measurement & improvement

What would you like to share?
This task is divided into four subtasks. Check the assignment description for more info.
Additional information
No response

I will look into 3.5.3 Task 3: Refactoring plan this weekend.


Both Jackson and Gson library is used in app. Should be one of them.

At present both Jackson and Gson Library is used to handle JSON results whereas we can work with any one of them and remove the other which would help in reducing the APK's size.

Just going to leave this here to help with deciding which one should stay and which should go if either of them are to go:
https://blog.takipi.com/the-ultimate-json-library-json-simple-vs-gson-vs-jackson-vs-json/

@jinqian

My fault, I used GSON for deserialization.
I will try to remake.


Refactor CEC SDM fit test

It feels like test_fit_sdm_cec_sam() could be split into two:

Check for expected vs. actual output
Check for exception when the parameters cannot be estimated

The code under the with statement has no relation with the code above.

This is a good suggestion. I'll roll the changes in #956 into #708 which refactors all of pvlib.ivtools.  Please leave both #956 and #957 open for now.

Closed via #708, test function split into test_fit_cec_sam and test_fit_cec_sam_estimation_failure


Different types of Scaling For machine learning models.

I wantI want to work on this Issue, Please assign me. Thanks

Please assign me, as I am a part of LGMSOC21 and i work on this isssue

I would like to contribute. Please assign me

@Niketkumardheeryan  I would like to work on this issue. Could you please assign me

I would like to contribute to this issue. Please assign me.


ale should override signs from gitgutter

Ale signs should take precedence over gitgutter, that's also how syntastic and gitgutter work together with syntastic taking precedence. the idea being as I fix my syntax errors, I'll be able to see my gitgutter signs. Especially important because I should be fixing syntax errors before committing code (which would clear the gitgutter signs)
Here is a related discussion on this for gitgutter and syntastic quite some time ago https://github.com/airblade/vim-gitgutter/issues/1

This follows on from #23, one of the earliest issues, where I made it so it doesn't remove gitgutter signs. This might be slightly harder to implement than for Syntastic, as ALE updates signs as you type. If anyone wants to try fixing this, give it a go.

Yup, I noticed that as well. Originally I was using Syntastic which is where I got use to the functionality. I happened to reinstall my dev environment and only now was wondering where the linter went. For now I can disable gitgutter until someone is able to come up with a fix or I move to Syntastic/Neomake.
@w0rp is it something that may not be possible with Ale? Helpful to know for deciding how long I should wait to switch over. Is there a priority level for what displays in the sign column?

I reckon it should be possible. Someone just needs to go ahead and do it.

@w0rp do you have a bounty bot you use, I wouldn't mind attaching a couple bucks to this issue

I'm wrong, my issue was because I was using emoji for the gutter for ale and I see there is another issue here https://github.com/w0rp/ale/issues/511 that references a problem with tmux 2.4. In order to get both my gitgutter and ale signs to display, I changed the ale sign to simple characters and now everything looks ok

Cool. :+1:

I still have this issue when using the default ">>" and "--" ASCII sign characters for ale.  Same thing if they're single characters, e.g. ">" and "-".  gitgutter overrides ale, but I definitely want errors to take priority over git status.
My workaround is to have ale show the location list on error, but I'd prefer the sign characters alone with the ability to open the location list when needed.
I'm using vim 8.0.1415, ale 1568bf8128, and vim-gitgutter 1e60667322, all the latest as of now, and no tmux.

As far as I can tell, whichever sign is set last wins. If vim-gitgutter sets signs after ALE, the signs will cover ALE's signs. Someone might have to change vim-gitgutter so it doesn't cover existing signs.

Unsure if this is the same issue or a different one. If not I'll move this to another issue.
If I use the default >> and -- I see two columns of signs both with a yellow background. By setting them to single characters > and - I expected only one column to be shown. However 2 are still visible, the second being just the yellow background with a single space (>  or - ). I checked the source but didn't find any obvious way to customise this. Is this something that can be corrected or even adjusted automatically depending on the length of ale_sign_error and ale_sign_warning?

Thanks for the clarification.

Not sure how this was working with syntactic+gitgutter, maybe luck?  The problem of sign conflicts between plugins is known from some time already and there is an issue discussion to improve the signs API (e.g. add priorities) in Neovim: https://github.com/neovim/neovim/issues/8668

In Neovim (and possibly in Vim, haven't looked at source), what currently determines the displayed sign, is the rather random order of link list of signs, order that is determined by the order of insertion. The one that appears first in the list is displayed.
I am working on a discussed change in Neovim where multiple sign column are displayed: https://github.com/neovim/neovim/pull/9295, and among it was agreed to sort by sign Id, so that more than one of them are displayed and the order is deterministic.

Still in RFC stage.

With #2786 it is possible to set g:ale_sign_priority to a value higher than 10 to ensure ALE signs take precedence over other plugins. Also this PR adds support for sign groups that ensure ALE sign manipulations do not interfere with other plugins signs.
Notes:

Only works for NeoVim 0.4.0 and Vim 8.1.0614  and latter.
Other plugins may also support sign-priority. Ensure you set g:ale_sign_priority to your needs.
gitgutter does not use priority therefore any value larger than 10 ensures ALE will take
precedence over it.

Thanks for your work @hsanson. :+1:

@hsanson Good day. Does #2786 also handle use cases where VIM's built-in Git gutter signs (i.e. +, -, =) override Ale? Right now, using the latest VIM source available as of today, and the latest available (via Vundle) release of w0rp/ale, Python linting, for example, is completely broken, unless I copy my source out of the Git project (i.e. Gutter is completely disabled wrt Ale).
If I add the 'tomtom/quickfixsigns_vim' plugin to the mix, VIM's built-in Git gutter functionality is working again, but Ale-related gutter functionality is completely overriden by the git feature. I'm aiming to either get both of these features (git gutter feature built-in to VIM, Ale) going with Ale overriding VIM/git gutter functionality, or I might just re-compile VIM without this Git gutter functionality if need be.

Hi all,
a possible workaround to obtain the correct behavior is to set the gitgutter priority
to a value less than 10.
Indeed, if in my .vimrc I set
let g:ale_sign_priority=30
let g:gitgutter_sign_priority=10

which are the default values, I get gitgutter sign rendered on top of ale sign, i.e. as if
it has higher priority than ale sign.
Anyway if I set:
let g:ale_sign_priority=30
let g:gitgutter_sign_priority=9

i.e. a value less than 10 for gitgutter sign (where 10 is the default value assigned to signs by vim), the ale sign is correctly rendered with higher priority.
I suspect that ale_sign_priority is not handled correctly, i.e. the priority of ale signs is always set to the default value (i.e. 10). To support this conclusion, if set
let g:ale_sign_priority=8
let g:gitgutter_sign_priority=9

ale still has higher priority than gitgutter sign, being rendered on top of gitgutter sign.
In conclusion, it seems that ale signs are always rendered as if they have a priority equal to 10.

Grettings,
I ran into the same issue with Syntastic, where gitgutter would get a higher priority in the sign column. the above fix of settign the following in the .vimrc seemed to fix this:
let g:syntastic_sign_priority=30
let g:gitgutter_sign_priority=9
Just wanted to mention this here in case anyone else runs into the problem. Thanks for finding this :)


There should be more scenarios for ADAL and MSAL covering all of the common Oauth2/OIDC flows

Unlike AAD dev documents, the ADFS document doesn't cover all the common Oauth2/OIDC flows, for both ADAL and MSAL. For example, client credential flow is not under both ADAL/MSAL. SPA scenario only comes in ADAL but not for MSAL.
Also, I think the classification also has problems, the example for "Enabling OpenID Connect with ADFS 2016" should be classified into Server side middleware (like Owin OIDC) instead of ADAL or MSAL. We should really re-group these articles like the architecture of AAD dev.

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

ID: 48f3be80-cf8a-cc8b-5b24-f3eab4d538df
Version Independent ID: e4b53405-0ead-84c9-e122-07aca2c397de
Content: AD FS MSAL Web app (server app) calling web APIs
Content Source: WindowsServerDocs/identity/ad-fs/development/msal/adfs-msal-web-app-web-api.md
Product: windows-server
Technology: identity-adfs
GitHub Login: @billmath
Microsoft Alias: billmath

Hello, any update or thoughts?

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: ingridatmicrosoft
gh issue comment 3583 -b ingridatmicrosoft


New version: SFrontiers v0.2.6

Registering package: SFrontiers
Repository: https://github.com/HungJenWang1991/SFrontiers.jl
Created by: @HungJenWang1991
Version: v0.2.6
Commit: 04b81e56bb40c2f5b24e8d0c265772bb8d3954f2
Reviewed by: @HungJenWang1991
Reference: https://github.com/HungJenWang1991/SFrontiers.jl/issues/10
Description: A Package for Estimating Stochastic Frontier Models using Julia

[merge approved]


Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )

Can anyone help with this? I tried quite a few times even wiped the computer and started from scratch.
Environment

CPU: Intel i7
Memory: 16GB
OS: Windows 10 64bit
Nvidia GTX 1060 (latest driver installed: 390.77-desktop-win10-64bit-international-whql)
Visual Studio Community
CUDA 8.0 for Windows 10
cuDNN 5.1 for CUDA 8.0
Python 3.6.4

I have a few versions available on local hard drive but all of them are giving me the same error message.

tensorflow-1.5.0-cp36-cp36m-win_amd64.whl
tensorflow-1.6.0rc1-cp35-cp35m-win_amd64.whl
tensorflow-1.6.0rc1-cp36-cp36m-win_amd64.whl

By running python -c "from pip import pep425tags;print(pep425tags.supported_tags)":
[('cp36', 'cp36m', 'win32'), ('cp36', 'none', 'win32'), ('py3', 'none', 'win32'), ('cp36', 'none', 'any'), ('cp3', 'none', 'any'), ('py36', 'none', 'any'), ('py3', 'none', 'any'), ('py35', 'none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')]

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Have I written custom code: N/A
OS Platform and Distribution: Windows 10 64bit
TensorFlow installed from: local files
TensorFlow version: tensorflow-1.6.0rc1-cp35-cp35m-win_amd64.whl
Bazel version: N/A
CUDA/cuDNN version: 8.0/5.1
GPU model and memory: GTX 1060 4GB
Exact command to reproduce: pip3 install tensorflow-1.6.0rc1-cp35-cp35m-win_amd64.whl

Hope this helps.

You need CUDA 9.0 and cuDNN v7.0, and then make sure they're referenced in the Path environment variable.
See https://www.tensorflow.org/install/install_windows

Also, choose a command with cp36 since you have Python 3.6.
For example
pip3 install tensorflow-1.6.0rc1-cp35-cp35m-win_amd64.whl

Are there any x64 versions?

I found the issue:
My windows 10 is 64 bit but I have a 32 bit python installed. After uninstalled the 32 bit python and reinstalled the 64 bit python, problem solved.
Thanks for everyone.

it still doesnt work for me

Currently TensorFlow released Python package up to 3.6, I have met the same problem and success after using Python 3.6 instead of 3.7, wish this help..

Currently TensorFlow released Python package up to 3.6, I have met the same problem and success after using Python 3.6 instead of 3.7, wish this help..

yes, you are right!!!!

I installed CUDA 9.1.85 and cudnn 7 for 9.1 and tried
pip3 install tensorflow-1.6.0rc1-cp36-cp36m-win_amd64.whl

but still having tensorflow-1.6.0rc1-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform. issue.

Hey Hi
Can you please tell me how did you install CUDA 9.1.85?
If you have any hyperlinks to install please share, I will try them.
Thanks


Terminated EC2 instances should not show up as drift

Description
Same infrastructure state with a bunch of terminated EC2 instances (in the following example, only i-021287fbe537070d5 is not in the Terminated status):
using 0.12.0
[...]
  aws_instance:
    - i-021287fbe537070d5
  aws_internet_gateway:
    - igw-040dd149e2dd80ae7
[...]

Using 0.13.0-pre
  aws_instance:
    - i-01d077dc80429615b
    - i-021287fbe537070d5
    - i-04e66343163ab5917
    - i-064cabb09154d3e25
    - i-0af8f53aa99e8d047
  aws_internet_gateway:
    - igw-040dd149e2dd80ae7

Environment

OS: not relevant but F34
driftctl version: 0.13.0-pre
terraform version: 1.0.3
terraform providers versions: 3.44

How to reproduce

terminate multiple EC2 instances and scan

Possible Solution

Additional context

lgtm!


Gradient animation resets periodically

What are you experiencing an issue with?

[ ] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[ ] Aurora supported device, (Fill in problematic devices)
[ ] Aurora Scripts
[ ] Aurora Updater
[x] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[x] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[ ] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Gradient animation visualize smooth and clean.
Actual behavior:
Animation layer resets gradient position in about every 2:30, you can see behavior at 2:10 here: http://recordit.co/J32rz5J2vD
Please describe the steps to reproduce this issue:
Gradient layer config:
{
  "$type": "Aurora.Settings.Layers.Layer, Aurora",
  "Name": "Gradient",
  "Handler": {
    "$type": "Aurora.Settings.Layers.GradientLayerHandler, Aurora",
    "Properties": {
      "$type": "Aurora.Settings.Layers.GradientLayerHandlerProperties, Aurora",
      "_GradientConfig": {
        "$type": "Aurora.Settings.LayerEffectConfig, Aurora",
        "primary": "164, 46, 72",
        "secondary": "35, 219, 126",
        "speed": 4.0,
        "angle": -10.0,
        "animation_type": 1,
        "animation_reverse": true,
        "brush": {
          "$type": "Aurora.EffectsEngine.EffectBrush, Aurora",
          "type": 2,
          "wrap": 2,
          "color_gradients": {
            "$type": "System.Collections.Generic.SortedDictionary`2[[System.Single, mscorlib],[System.Drawing.Color, System.Drawing]], System",
            "0": "241, 103, 69",
            "0.2169231": "255, 198, 93",
            "0.4245055": "123, 200, 164",
            "0.6165934": "76, 195, 217",
            "0.8150382": "185, 121, 177",
            "1": "53, 40, 53"
          },
          "start": {
            "$type": "System.Drawing.PointF, System.Drawing",
            "IsEmpty": true,
            "X": 0.0,
            "Y": 0.0
          },
          "end": {
            "$type": "System.Drawing.PointF, System.Drawing",
            "IsEmpty": false,
            "X": 1.0,
            "Y": 0.0
          },
          "center": {
            "$type": "System.Drawing.PointF, System.Drawing",
            "IsEmpty": true,
            "X": 0.0,
            "Y": 0.0
          }
        }
      },
      "_SecondaryColor": "127, 214, 63",
      "_PrimaryColor": "98, 189, 65",
      "_Sequence": {
        "$type": "Aurora.Settings.KeySequence, Aurora",
        "keys": {
          "$type": "System.Collections.Generic.List`1[[Aurora.Devices.DeviceKeys, Aurora]], mscorlib",
          "$values": []
        },
        "type": 1,
        "freeform": {
          "$type": "Aurora.Settings.FreeFormObject, Aurora",
          "Type": 1,
          "X": -10.4578857,
          "Y": -22.0603485,
          "Width": 802.39624,
          "Height": 250.920029,
          "Angle": 0.0
        }
      }
    }
  },
  "Enabled": true,
  "Type": 0,
  "Logics": {
    "$type": "System.Collections.ObjectModel.ObservableCollection`1[[Aurora.Settings.Layers.LogicItem, Aurora]], System",
    "$values": []
  },
  "LogicPass": true
}

What is the version of Aurora you are experiencing this issue with?
My version is 0.6.0b

Could you see if you experience the issue on the latest development release?

Yes. 0.6.1-dev4 also has this bug. I just counted that animation resets every 27th gradient round.

Fixed with the commit above, fix will be available in the next release or you can get it now by getting the build for the commit. Also, many thanks for including the config of the Layer, without that inclusion it likely would've taken me longer to debug it!

Reproducing again on the actual version


import showdown is not supported like require(showdown)

I am using meteor, I added showdown from npm, then added this line at the top:
import {showdown} from 'showdown';
Now that brings back "undefined" value for showdown, but when I tried
var showdown  = require('showdown');
It worked. Am I missing anything or is showdown not quite an exported module?

Rename the showdown package to markdown.

https://github.com/meteor/meteor/blob/devel/History.md#api-changes
https://github.com/meteor/meteor/blob/devel/packages/showdown/package.js

The issue is with meteor and not showdown.
Meteor uses it's own fork of showdown, based on an old deprecated version of our library.


add SQLAlchemy 2.0

Doing performance improvements is the best way to learn how a tool actually works. I've used SQLAlchemy with Postgres and FastAPI for the last few months and I've learned that:

Postgres does not automatically add indexes on foreign key and neither SQLAlchemy (Django, the other ORM I've used before did that by default). So add index=True on your foreign keys if necessary.

You can define column properties with scalar subqueries outside the model definition: https://lnkd.in/eGrzGBNz

I've also discovered query expressions, they are a saver for complex queries: https://lnkd.in/er9DDKks

Extremely important for heavy queries how the relationship loading is done: https://lnkd.in/eaepxJwM

If you are migration to 2.0, this is the holy bible: https://lnkd.in/eamwyb4T

I wonder why there was a need to create tools with yaml and adopt configuration engineering, when SQLAlchemy has a great choice of database drivers, it offers not only schema validation - but it enforces good data modeling practices and it provides a nice ORM to work with.


CHashWriter that does SHA256 in-place during serialization

I confirmed this builds in gitian and used it to sync a chain as well as left it running on a testnet prime overnight, everything appears to be functioning properly (if anyone wants to test that's great of course).
I have not been able to test CPU load in comparison to without this function but based on the authors notes it seems viable.
Reference: https://github.com/bitcoin/bitcoin/pull/1567

utACK

Tested, compiles and runs nicely through an IBD.


Partial migration to media3

Spent a moment looking at migrating to media3 using the following migration guide: https://developer.android.com/guide/topics/media/media3/getting-started/migration-guide
Unfinished bits:

MediaSessionCallback.RATING
NotificationManager: mediaSessionConnector.invalidateMediaSessionQueue() / mediaSession.invalidateMediaSessionMetadata() functionality
BaseAudioPlayer ratingType
BaseAudioPlayer requestAudioFocus / releaseAudioFocus
QueuedAudioPlayer init: setQueueNavigator / setMetadataDeduplicationEnabled

@puckey @brad-sf How is this update going? Will it be merge soon?

@puckey @brad-sf How is this update going? Will it be merge soon?

Migration to media3 is a planned task, but its a slightly bigger update. It will take some time to complete.


MacOS support

Partial fix for #2, getTcpStats isn't implemented yet, but with this patch Ethr compiles and reports bandwidth on MacOS :D

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


v1.1.0

firebase production failure

firebase production failure bug fixed. error occurs because a conflict of firebase and angular/fire version compatibility

[!NOTE]
Firebase 10.x.x are still not supports to the @angular/fire latest versions


Enable warnings as errors for the SpectatorView codebase

Some clients of this code we know already have warnings as errors, so ingesting this leads to compiler breaks.
In general, as as provider of platform/SDK code, our code should be warning-free - while we may fix them as we notice them, we should just treat them as warnings so that people are forced to not check in broken code.
Consider adding something like:
https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Assets/csc.rsp
To the Assets folder in here.
Note that we probably shouldn't have the second line in there:
-nowarn:1701,1702

I don't know that this will be possible based on ASA dependencies. Right now ASA has warnings in their samples code which we reference through submodules.

This is going to become a backlog item until ASA warnings have been resolved in their plugin.


Create Assignment & Quiz page in activity types

@leowilkin to do

Hello @leowilkin, any status on this ?


Typescript error with referenced vuex types when installing vuex-orm

Hey y'all,
I'm seeing this error when I install @vuex-orm/core for my project. (please excuse the docker container prefix)
ERROR in<EMAIL_ADDRESS>front-end_1   | 10:5 Subsequent property declarations must have the same type.  Property 'store' must be of type 'Store<any> | undefined', but here has type 'Store<any> | undefined'.
front-end_1   |      8 | declare module "vue/types/options" {
front-end_1   |      9 |   interface ComponentOptions<V extends Vue> {
front-end_1   |   > 10 |     store?: Store<any>;
front-end_1   |        |     ^
front-end_1   |     11 |   }
front-end_1   |     12 | }
front-end_1   |     13 |
front-end_1   | ERROR in<EMAIL_ADDRESS>front-end_1   | 16:5 Subsequent property declarations must have the same type.  Property '$store' must be of type 'Store<any>', but here has type 'Store<any>'.
front-end_1   |     14 | declare module "vue/types/vue" {
front-end_1   |     15 |   interface Vue {
front-end_1   |   > 16 |     $store: Store<any>;
front-end_1   |        |     ^
front-end_1   |     17 |   }
front-end_1   |     18 | }
front-end_1   |     19 |

Not sure why I'm seeing this error. Couldn't find anything online -- only advice was to exclude the types via this post: https://github.com/microsoft/TypeScript/issues/18588
Thank you!

Ah, okay. I figured it out. If your vuex version is <^3.1.1 then @vuex-orm/core will install the other vuex version. That's what breaks this for me. Fix was to update the vuex version in my main project. :)

Oh, OK. Glad to hear you found a way out!


Able to Resolve Internal Hosts but not Internet as a Whole

Hello,
I trust all is well. Firstly, I would like to thank you for your work setting BIND in a Docker container and sharing your project with the rest of us. That being said, I am running into an issue that I am hoping someone would be able to assist me with.
I was able to successfully build and run this Docker container within my Ubuntu 20.04 VM hosted on my ESXi server. I then connected to the Webmin portal and setup my master/reverse zones for my internal hosts. I also set up global forwarding to external DNS servers of internet resolution.
However, as of right now, on my test VM pointed to my Docker host, I am only able to resolve internal hosts and not hosts on the Internet. As far as I can tell, my configuration is correct. I have tried restarting the container and recreating it from scratch and tried on a different test system. I received the same result each time.
Below is the relevant information:
Docker Version
samuelkneppel@docker:~$ docker version
Client: Docker Engine - Community
 Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46d9d
 Built:             Wed Sep 16 17:02:52 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.13
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       4484c46d9d
  Built:            Wed Sep 16 17:01:20 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.3.7
  GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Docker Info
samuelkneppel@docker:~$ docker info
Client:
 Debug Mode: false

Server:
 Containers: 8
  Running: 8
  Paused: 0
  Stopped: 0
 Images: 24
 Server Version: 19.03.13
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.4.0-54-generic
 Operating System: Ubuntu 20.04.1 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 3.843GiB
 Name: docker
 ID: YCMM:FNPR:SPIH:3GVD:U5HE:RKZU:S2VT:OTSS:V4F5:QY7Q:YBP2:6BA6
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

WARNING: No swap limit support

Docker Compose
samuelkneppel@docker:~/docker-compose/bind$ cat docker-compose.yml
version: '2'

services:
  bind:
    restart: always
    image: sameersbn/bind
    ports:
    - "<IP_ADDRESS>:53:53/udp"
    - "<IP_ADDRESS>:53:53/tcp"
    - "<IP_ADDRESS>:10000:10000/tcp"
    volumes:
    - /home/samuelkneppel/config/bind:/data

/etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

/etc/bind/named.conf/options
options {
	directory "/var/cache/bind";

	// If there is a firewall between you and nameservers you want
	// to talk to, you may need to fix the firewall to allow multiple
	// ports to talk.  See http://www.kb.cert.org/vuls/id/800113

	// If your ISP provided one or more IP addresses for stable
	// nameservers, you probably want to use them as forwarders.
	// Uncomment the following block, and insert the addresses replacing
	// the all-0's placeholder.

	// forwarders {
	// 	<IP_ADDRESS>;
	// };

	//========================================================================
	// If BIND logs error messages about the root key being expired,
	// you will need to update your keys.  See https://www.isc.org/bind-keys
	//========================================================================
	dnssec-validation auto;

	listen-on-v6 { any; };
	forwarders {
		<IP_ADDRESS>;
		<IP_ADDRESS>;
		<IP_ADDRESS>;
		<IP_ADDRESS>;
		};
};

/etc/bind/named.conf.local
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

zone "lab.localdomain" {
	type master;
	file "/var/lib/bind/lab.localdomain.hosts";
	};
zone "1.168.192.in-addr.arpa" {
	type master;
	file "/var/lib/bind/192.168.1.rev";
	};

/etc/bind/named.conf.default-zones
// prime the server with knowledge of the root servers
zone "." {
	type hint;
	file "/usr/share/dns/root.hints";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
	type master;
	file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
	type master;
	file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
	type master;
	file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
	type master;
	file "/etc/bind/db.255";
};

Replication of Issue

I will admit, I am fairly new to BIND so it is possible that I missed something obvious. Any ideas? I appreciate any help you can give me!

I'm having the same issue.

Hi guys,
I had the same issues, but I was able to solve it by adding the following lines in /etc/bind/named.conf.options
forwarders {
<IP_ADDRESS>;
<IP_ADDRESS>;
};
recursion yes;
allow-recursion {
10.x.x.x/24; //your internal network
};


riverpod_generator always runs even though we added runs_before (after version 2.3.3)

I have created a package that automatically generates providers based on the repository. It works if the riverpod_generator: 2.3.3 and below  in pubspec.yaml. it does not work for riverpod_generator: 2.3.5 and above
Seems
global_options:
  riverpod_repo:
    runs_before:
      - riverpod_generator

does not work after version 2.3.3
To Reproduce

Checkout https://github.com/chaturadilan/riverpod_repo_generator
Change riverpod_generator version to 2.3.5 or higher in https://github.com/chaturadilan/riverpod_repo_generator/blob/main/pubspec.yaml
Generate the code using fvm flutter pub run build_runner build --delete-conflicting-outputs

Expected behavior
It should generate the providers like with riverpod_generator: 2.3.3 in pubspec.yaml in example.g.dart

That's most likely a source_gen/build issue.

It's low priority for me. I won't spend much time investigating this.
So if it matters for you, feel free to look into it yourself and raise a PR if you found a solution.

I have no plan to work on this, especially with metaprogramming around the corner.
So closing :)

Hi Remi,
When I investigated the issue, I found out it was occurring because of.
https://github.com/rrousselGit/riverpod/commit/06aeaf0b71ca1fe59facf9258e6a33d31c91ae4e#diff-394be403b9b3b307ca0400be48de286400f6abb846b3834065d6ea31c844991e
Any idea why the following code was added? It prevents my .repo.g.dart from executing before .g.dart.
const generatedExtensions = {'.freezed.dart', '.g.dart'};         final shortName = unit.declaredElement?.source.shortName ?? '';         if (generatedExtensions.any(shortName.endsWith)) {           continue;         }

There's no order change with this. It just excludes generated files.


Progression on game interface with sprite (ship) movement, Extra weapon/Life booster for player sprite (ship) and Coin Operation to Unlock more stunning graphical UI

Hello! I have some Ideas to share!
Proposals
* Progression on game interface with sprite (ship) movement.
* Extra weapon and Life booster for player sprite (ship)
* Coin Operation to Unlock more stunning graphical UI
Progression on game interface with sprite (ship) movement: Needs to do with additional coding yet required on the game for its users.
when player control it's sprite to advance, When it gets to the finish of the screen it enters and lose visual which isn't generally cool. There ought to be a movement on the game interface that will make the screen to move alongside with the sprite and stop toward the finish of the screen.
Extra weapon and Life booster for player sprite (ship) There ought to be additional weapon and life booster to make the game more intriguing.
When I got to phase 2 there was some additional object that I had to decimate and I figure it would be extremely nice to have the usage of additional weapon.
These can be accomplished by making it that if a player destroy up to X submarines (at least 20,40,60) there will be a monstrous weapon that will be added for the player to utilize and the weapon will be a gigantic destroyer that once discharged it will pulverize every one of the submarines display in water.
Life booster can be accomplished by having extra Item bobbing out each Q min (5min, 10min 0r more) and if the player could figure out how to shoot it the rectangular life box will be topped up automatically
Coin Operation to Unlock more stunning graphical user interface: Coin operation is an element that includes usage of coin which will be intended for opening new graphical interface. The game interface is the same on each Phrases and I would love to recommend having  more engaging interface yet to empower players to be occupied with having new illustrations on their game screen this would be consummately decent, It ought to be made that once a submarine is demolished a coin will leave it blast and player will have to move and get the coin. Could be set as when player have up to Y coin (500 coin, 700 coin, or 1000 coin or more) to open another interface with it.
NOTE: The option to unlock  UI will be on the game landing page.
Mock-up
 I created this for experimental purpose on my PC using construct 2
https://www.youtube.com/watch?v=izadl8x1IsA
Pictorial Illustration of how Extra weapon will look like

Picture below shows how I propose life movement in a pictorial form

Coin Operation

Benefits
Progression on game interface with sprite will change bunches of things on the game if you check the video I attached properly you get to acknowledged when the sprite (ship) move outside the game interface there was no impact at all, no submarine could shoot it and the sprite was there ideal from stage 0 till stage 2 without shooting or endeavoring. I trust this is positively an opportunity to abuse the game which isn't generally cool, If the upgrade is done it will make more awareness of other's expectations for the game users. Having a slight static interface is exhausting and it will be more engaging to have the progression.
Extra weapon and life booster
These are exceptionally pleasant features that users will find extremely fun. The monstrous weapon will make it simple to battle the submarines. At some specific point, it requires to get the additional weapon and make player to decide on accomplishing this task and have the weapon to confront the submarines.
Live Booster will likewise be a decent element/improvement once the life is altered there is now any deliverer to spare the life of the ship notwithstanding when submarines continue increasing this will fill in as an existence manage and will be of an incentive for players.
Coin Operation to Unlock all the more dazzling graphical UI will be a decent component there is just a single graphical interface accessible on the game at this moment and having more will be pleasant as well as getting users include on accomplishing more interface by implication more assignment for players while playing and this will make the game to be all the more intriguing and fascinating.
Observations
I Observe some trivial features which are also essential are not available on the game that I will be listing below.

There is not record keeping tab for keep high score of the user on the game no matter how far record gained the score disappears once the game is over.

When ever I loose it pops up game over but there is no option to continue, play again or restart on the game screen Game over remain until I exited and relaunch.

There is not visible pause button available

Time will be decent if included it will serve to know what extent each stage is and to what extent we have being playing the game.

Hello Tykees,
thank you for your extensive feedback!
Proposals
Receiving so much advice is a pleasant surprise, but please note that the game is mostly based on Qt's Graphics View Framework.  This framework does not scale well on mobile screens and it's difficult to add user interface controls, that work well and look the same on all supported platforms (desktop and mobile).
Since the Qt Graphics View Framework is not longer in active development and has been mostly superseeded by QML, the best solution would probably taking the existing images and graphical assets and creating a new game.
Note that all graphics are created by myself and do not have any third party website's copyright. Feel free to use them on a license of your choice.
There's some existing sprite based graphics engines like the construct2 which are probably much better suited for the further development this game.
Observations
There is a highscore table in the game
https://github.com/taiko000/TAsteroids
which uses the same graphics engine as battleship. This game has been ported to Android first. But it didn't found a simple highscore table too useful if you cannot see other player's scores.  That's why i left it out here.
There's definitely some ui parts missing. Pause can be activated on the PC via the pause button.

Thanks for your quick response!
I have the repo forked so I am thinking of getting it improved either way.
I will see what I can do using construct 2.
Based on all my Initial proposals


add transaction support in postgres driver

Current postgres driver, only checks incoming query is valid or not. But, it doesn't know how to act in a transaction block.
for e.g.: end user can query user but can't insert as policy.
SELECT * FROM USERS;
BEGIN;
INSERT INTO USERS(first_name, last_name) VALUES ('pooni', 'kuttypoonai');
COMMIT;

The expected behaviour is that postgres should return data for select statements and send error for insert transaction. But, Inspektor
Postgres driver return error response directly.

ref: https://github.com/sqlparser-rs/sqlparser-rs/pull/438


filename of failed test

Sometimes it's a bit hard to figure out where the failed test is originating from - am I missing something obvious here?

In the browser?
If you browserify and run the tests the console points to default_stream.js 26 which is not very useful
(see the screenshot https://github.com/substack/tape/issues/192#issuecomment-141640521)

Sorry for being unspecific - I was referring to node.

This is really getting frustrating:
not ok 17 TypeError: Cannot read property 'path' of undefined
  ---
    operator: fail
  ...

How is one supposed to find the error? No file, no line number, no stacktrace.

tape is pretty minimal; it just reports a pass / no pass - if you want something more fleshed out, try passing it through a test runner such as tap
Perhaps this could be improved, but using tap might help you narrow your error down right now. For the future I'd recommend naming your tests so any error that occurs can be tracked down without the help of tools (or potential patches onto tape). Cheers!

Thank God! :)


Lightbox with previewimages (as for nav)

Hi I like the idea creating a lightbox with with the slick slider. But what I am missing are thumbnail in the lightbox for the slider. Maybe this can be added, when I click an image that a copy of the slider in the lighbox is created as an as for nav slider with the thumbnailimages.

Hey. I don't plan to implement such a thing, as the plugin is meant as a single slick-wrapper.


chore(docs): new colors (VIV-1189)

Nice! Thanks. Maybe getting started and design system should start closed?

I don't know - since I'm afraid people will miss the migration, font ect.
I'll keep it as it is now.
Thanks


provide

Brief Issue Summary

Expected:

Push button
Thing happens

Apparent Behavior:

Push button
Nothing happens

CMake Tools Log

<!-- Paste the log contents HERE -->

Developer Tools Log

<!-- Paste the log contents HERE -->

Platform and Versions

Operating System:
CMake Version:
VSCode Version:
CMake Tools Extension Version:
Compiler/Toolchain:

Other Notes/Information

I think my browse bugged out.


feat: Add linux VHACD shared library

PR Details
This PR adds the generated binary of VHACD shared library for Linux using my BulletSharp fork
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] I have built and run the editor to try this change out.

Can you make a PR on our bulletsharp repo to merge your changes in ?

Thanks !

Can you make a PR on our bulletsharp repo to merge your changes in ?

@Eideren Sure 😀, here's the PR https://github.com/stride3d/BulletSharpPInvoke/pull/4


feat(material/checkbox): refactor pseudo-checkbox size styles

This PR does not change the pseudo-checkbox styles. That will be done in a follow-up where the size is changed from 16px to 18px to match the MDC version.
This moves the pseudo-checkbox size styles into a mixin that can be given a size. This can be used in a follow-up PR to switch from $legacy-size to $size once all affected internal clients call the legacy size mixin.

Thanks @ladaland ;)


Semantic Model Validation

resolves #7969
Description
Support validation of Semantic Models by issuing a new log message type on validation warnings and errors, and throwing an exception at parse time when there are errors.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

We just merged #8050, pulling that in should fix the code quality check failure

@QMalcolm I'd argue this is ready to merge. I disabled the check we added while pairing because several existing tests have metrics without semantic models, and I'd like to move ahead with this and fix that separately. I'm happy to follow that up in this sprint if we have time.

@QMalcolm I'd argue this is ready to merge. I disabled the check we added while pairing because several existing tests have metrics without semantic models, and I'd like to move ahead with this and fix that separately. I'm happy to follow that up in this sprint if we have time.

Yea in the depends_on work I'm doing I'm fixing those tests 😂 I'll rebase after this is merged, and then uncomment the check 👍


Segmentation fault at mrb_io_s_select

When the following mruby code is executed with mruby in
version 63c7ff341a53a689209e67f9f1c885fcff596cf8, mruby crashes because of a segmentation violation:
#This input causes mruby to crash
#this bug was found using nautilus 2.0: https://github.com/nautilus-fuzz/nautilus
d=[1,nil," sdfg"]
srand(1337)
b = to_s.srand()
c = File.new(b)
a = d.prepend(c)
c = File.select(d)

ASAN output:
AddressSanitizer:DEADLYSIGNAL
=================================================================
==84900==ERROR: AddressSanitizer: SEGV on unknown address 0x1000802b320e (pc 0x00000072e9ad bp 0x7ffffc59bcf0 sp 0x7ffffc59a6a0 T0)
==84900==The signal is caused by a READ memory access.
    #0 0x72e9ac in mrb_io_s_select (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x72e9ac)
    #1 0x62c651 in mrb_vm_exec (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x62c651)
    #2 0x61c3d4 in mrb_vm_run (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x61c3d4)
    #3 0x67323f in mrb_top_run (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x67323f)
    #4 0x5eda0d in mrb_load_exec (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x5eda0d)
    #5 0x5ee71d in mrb_load_file_cxt (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x5ee71d)
    #6 0x4c56df in main (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x4c56df)
    #7 0x7fc551b5e1e2 in __libc_start_main /build/glibc-t7JzpG/glibc-2.30/csu/../csu/libc-start.c:308:16
    #8 0x41c68d in _start (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x41c68d)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/fuzzing/targets/binary_backups/mruby_current_ASAN_no_instrumentation+0x72e9ac) in mrb_io_s_select
==84900==ABORTING

I will send a pull request when Travis-ci maintenance is complete.


Reducing the React act warnings during testing

Following an article from Kent, I managed to get rid of all the React.act warnings that were being thrown during tests for the loaders.tests.tsx file. While all warnings probably won't be discarded, we can probably reduce a large chunk of it.
Some resources to keep in mind:

https://kentcdodds.com/blog/fix-the-not-wrapped-in-act-warning
https://codilime.com/blog/why-should-you-be-grateful-for-act-warnings-in-react-tests/
https://stackoverflow.com/questions/55181009/jest-react-testing-library-warning-update-was-not-wrapped-in-act
https://stackoverflow.com/questions/76045362/testing-library-user-event-how-to-handle-act-warnings-related-to-materi

We should reduce the warnings being thrown so we can better trace the actual errors we are facing (especially in CI).
The scope of this task would only be the @tanstack/react-router package since it is where these act warnings are being thrown from.

Currently, these files can be considered good/safe.

Filename
Tested by

index.test.tsx
@SeanCassiere

loaders.test.tsx
@SeanCassiere

Following some resources from the testing-library site, I'll revert the waitFor changes and reduce the overall usage of act.


custom graphql shema is not working with data-index

Description
Description
Hi Team,
We have implemented with custom graphql API on data index but it is not reflecting with data-index graphql playground(/graphql)
we have added graphql-client as dependency .
Could you please guide us,How can we implement custom graphql API.
Implementation ideas
No response

Is it possible to register additional queries and mutaions in data index application. We have a need to have custom queries but do not have option to register. Data index builds  the schema on run time how to wire additional queries please advice...

Closing as a stale discussion.


Crash when try to access GetName()

I tried to use the basic example to loop over GameObjects
std::string m_sObjectSubstring = "Player";

// Obtain list
Unity::il2cppArray<Unity::CGameObject*>* m_pObjects = Unity::Object::FindObjectsOfType<Unity::CGameObject>(UNITY_GAMEOBJECT_CLASS);

for (uintptr_t u = 0U; m_pObjects->m_uMaxLength > u; ++u)
{
    if (m_pObjects->m_pValues[u] == NULL) continue; // I added this because some values were NULL

    Unity::CGameObject* m_pObject = m_pObjects->m_pValues[u];
    if (!m_pObject) continue; // Just in-case

    // Obtaining object name and then converting it to std::string
    std::string m_sObjectName = m_pObject->GetName()->ToString();
    if (m_sObjectName.find(m_sObjectSubstring) != std::string::npos)
    {
        // logger.AddLog("Found Player!");
        break;
    }
}

I get an access violation error here: std::string m_sObjectName = m_pObject->GetName()->ToString();

its little bit confusing of looping array, but you should use
Unity::CGameObject* m_pObject = m_pObjects->m_pValues->operator[](u);
or
Unity::CGameObject* m_pObject = m_pObjects->m_pValues->At(u);

its little bit confusing of looping array, but you should use Unity::CGameObject* m_pObject = m_pObjects->m_pValues->operator[](u); or Unity::CGameObject* m_pObject = m_pObjects->m_pValues->At(u);

Sorry if I am missing something but neither of these are defined.
Cannot resolve symbol 'operator[]'
Cannot resolve symbol 'At'

you have probably missing import header files.
the function is defined at
https://github.com/sneakyevil/IL2CPP_Resolver/blob/main/Unity/Structures/il2cppArray.hpp#L17-L25

operator

I see, I think you meant this: Unity::CGameObject* m_pObject = m_pObjects->At(u);, which worked! Thank you.

Author

my fault.


[Question / Feature Suggestion] Add infinite loop detection

jsonata-js allows the user to do this to detect infinite loops:

Is it possible to do something like it with this library?

Thanks, I'll take a look and see what is possible.

I will prototype this in the same code used to showcase function declarations and then move to add this as a general feature so people can add these limits along with their expression when executing JSONata for Java.

I have begun the check in process to post a new version, 1.2 of JSONata4Java to Maven Central. It includes a bug fix for issue #24 as well as tooling you've requested.
I created a new TesterTimeBox utility that will prompt you for a timeoutMS (max milliseconds of execution time before throwing an exception) and a maxDepth (the number of recursive calls allowed before throwing an exception).
I also added a new method to the Expressions class allowing you to pass the timeoutMS and maxDepth when evaluating your expression (see the TesterTimeBox code to see how it was called).
   /**
    * Evaluate the stored expression against the supplied event and application
    * interface data.
    *
    * @param rootContext bound to root context ($$ and paths that don't start with
    *                    $event, $state or $instance) when evaluating expressions.
    *                    May be null.
    * @param timeoutMS milliseconds allowed for the evaluation to occur. If it takes longer
    *                    an exception is thrown. Must be positive number or exception is thrown.
    * @param maxDepth the maximum call stack depth allowed before an exception is thrown. Must
    *                    be a positive number or an exception is thrown.
    * @return the JsonNode resulting from the expression evaluation against the rootContext
    * @throws EvaluateException If the given device event is invalid.
    */
	public JsonNode evaluate(JsonNode rootContext, long timeoutMS, int maxDepth) throws EvaluateException

Please close and comment if this provides the solution to your request. Thank you.

Thanks a lot! I'll close the ticket.


Headlamp OIDC with GKE

After numerous and various attempts it does not seem that Headlamp OIDC is working with GKE Identity Service and the only way to login is to use service account token.

Enabled Identity Service with GKE (https://cloud.google.com/kubernetes-engine/docs/how-to/oidc)
Changed default ClientConfig to the following

apiVersion: authentication.gke.io/v2alpha1
kind: ClientConfig
metadata:
  name: default
  namespace: kube-public
spec:
  authentication:
  - name: oidc
    oidc:
      clientID: <<MY_REALM/CLIENT_ID>>
      groupPrefix: 'oidc:'
      groupsClaim: groups
      issuerURI: https://<<KEYCLOACK_URL/realms/<<MY_REALM/CLIENT_ID>>
      kubectlRedirectURI: http://localhost:8000/callback
      scopes: email,profile
      userClaim: email
      userPrefix: 'oidc:'
  certificateAuthorityData: <<certificateAuthorityData>>
  internalServer: ""
  name: <<CLUSTER_NAME>>
  server: https://<<IP_ADDRESS_OF_gke-oidc-envoy LB service>>:443

server is set to the IP address of the gke-oidc-envoy LB service in "anthos-identity-service" namespace

Default login through kubectl oidc login --login-config=client-config.yaml --cluster=<<CLUSTER_NAME>>
where client-config.yaml is the same client configuration as shown above + clientSecret - works just fine.
I'm able to login with email that's mapped to "oidc:<<MY_EMAIL>>" and with clusterRoleBinding in place I'm able to gain the access.

In Headlamp though, using the following config:

   clientID: <<MY_REALM/CLIENT_ID>>
   clientSecret: <<CLIENT_SECRET>>
   issuerURL: https://<<KEYCLOACK_URL/realms/<<MY_REALM/CLIENT_ID>>
   scopes: email,profile

I cannot get any permissions/access. Moreover I don't see any relevant logs in headlamp at all, only messages like
""events is forbidden: User "system:anonymous" cannot list resource "events" in API group "" at the cluster scope" appearing in the browser console

As such I have a couple of questions:

Is there any working example of Headlamp OIDC with GKE (if any) or is it broken at this point and awaiting a fix?
Is it possible to see/enable some debug logs of Headlamp OIDC flow with API server or at least any hints on that matter in logs?

And on a somewhat unrelated note, is there a way to suppress error message
{"level":"error","source":"/headlamp/backend/cmd/headlamp.go","line":757,"error":"expiry time not found or invalid","time":"2024-12-06T07:41:50Z","message":"failed to get expiry time"}

when using service token without expiry (set as a secret)?

cc/ @ashu8912


failed to download language server

the same problem

Not any more thank you
On Wed, 23 Oct 2024, 08:25 vlad-n-v, @.***> wrote:

the same problem
—
Reply to this email directly, view it on GitHub
https://github.com/Exafunction/CodeiumVisualStudio/issues/112#issuecomment-2431134086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZLSMUD5QEIRPXXYOIF3QHLZ45FOZAVCNFSM6AAAAABNKLUJFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZRGEZTIMBYGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


[Bug]: TimeoutError: Navigation timeout of 30000 ms exceeded

Minimal, reproducible example
import { writeFileSync } from 'fs';
import puppeteer from 'puppeteer';

(async () => {
	const browser = await puppeteer.launch({
		headless: 'new',
	});
	const page = await browser.newPage();

	const html = `

                <meta charset='UTF-8' />
                <meta name='viewport' content='width=device-width, initial-scale=1.0' />
                <meta http-equiv='X-UA-Compatible' content='ie=edge' />
                <title>
                        Invoice
                </title>

                            Product
                            Price
                            Quantity
                            Total

                            Product 1
                            $10.00
                            2
                            $20.00

                            Product 2
                            $15.00
                            1
                            $15.00

                            Product 3
                            $5.00
                            3
                            $15.00

        `;

	await page.setContent(html, { waitUntil: 'networkidle0' });

	const pdf = await page.pdf({
		format: 'a4',
		printBackground: true,
		displayHeaderFooter: true,
		headerTemplate: ' ',
		footerTemplate: `

                        /

            `,
		margin: { bottom: '20mm', left: '20mm', right: '20mm', top: 0 },
	});

	await page.close();
	await browser.close();
	writeFileSync('invoice-test.pdf', pdf);
	return pdf;
})();

Error string
TimeoutError: Navigation timeout of 30000 ms exceeded
Bug behavior

[X] Flaky
[X] PDF

Background
I've been using this code for over a long period of time (at least a year or more). We use a handlebars template, that outputs some HTML. Then we create a PDF via Puppeteer. As of my latest NPM packages updates, this has become an issue that occurs from time to time, and leaves behind a lot of dead processes.
I couldn't get the example to error locally or on the server, but it happens on both Ubuntu 22.04 servers we have NodeJS API and plain script.
.cache/puppeteer/chrome contains the following:
linux-1056772  linux-1083080  linux-113.0.5672.63  linux-114.0.5735.133  linux-117.0.5938.92  linux-118.0.5993.70

Expectation
Work as it always has, without errors/timeout.
Reality
Image here for context:

I'm guessing maybe the import in the CSS creates the issue ?
Puppeteer configuration file (if used)
No response
Puppeteer version
21.4.1
Node version
16.18.1
Package manager
npm
Package manager version
9.6.3
Operating system
Linux

@OrKoN Here is the issue

I'm guessing maybe the import in the CSS creates the issue ?

Does removing the CSS import cause an issue?

It does launch chrome, as i can pull the PDF via our dashboard UI. Most of the time the processes are created then killed again automatically, but after some time when i SSH into the servers i have the result seen in the image in my original post.

I just reproduced the error via my API:
I have a list of invoice in a table, and i can select multiple.
Selecting 20 invoices will send 20 different requests to the API.
const invoice = await this.$axios.$get(`/api/v1/invoice/${ID}`, {
			headers: {
				Accept: 'application/pdf',
			},
			params: {
				account: this.$accessor.user?.customerID,
			},
			responseType: 'blob',
		});
		```

At some point it will hit my example from the post above. I have 8 instances running via PM2, and after hitting each one once, the next 12 PDFs fail.
Has any of the latest updates created a kind of locking mechanism ?

@SK-FComputer no, but it's a browser so parallel runs is not exactly a priority. Still could you get the logs with dumpio: true and could you make sure that the browser gets close even if there is an error? Current sample code would leave the browser hanging if an error happens.

writeFileSync('invoice-test.pdf', pdf);

I assume that parallel runs use the same destination file?

Also, it would great if you could share the CDP log DEBUG=puppeteer:* for the run where there are hanging processes remainging.

The parallel runs returns the buffer, and the API returns this data. No file is written.
Shouldn't it create a browser per run ? Even in the same NodeJS api instance ?

Are these the exact arguments you launch with on the server?
const browser = await puppeteer.launch({
		headless: 'new',
	})

this would create a new browser instance per run and a fresh temporary profile directory. But if you provide a custom profile directory, then it might not work concurrently.

Are these the exact arguments you launch with on the server?
const browser = await puppeteer.launch({
		headless: 'new',
	})

this would create a new browser instance per run and a fresh temporary profile directory. But if you provide a custom profile directory, then it might not work concurrently.

Yes this is the exact arguments

Dumpio:
[1834901:1834901:1025/130232.060055:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:32773/devtools/browser/eaa71e4f-aad9-4de5-aa38-31dbadac88c2
[1834968:7:1025/130232.249280:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1834980:1834980:1025/130232.342700:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:33089/devtools/browser/b61793dd-eb5c-4d3e-93cd-5d2eaa6cc448
[1835065:7:1025/130232.566808:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1835066:1835066:1025/130232.615929:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:33595/devtools/browser/2174628e-999d-45ad-a01b-1bbb838043a2
[1835183:1835183:1025/130232.956007:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:45245/devtools/browser/8d973a38-2f4b-4945-bdc0-c512029f2a7e
[1835288:1835288:1025/130233.224097:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:41357/devtools/browser/666a6f87-c2d1-4242-9c93-2bc2b1f67980
[1835379:1835379:1025/130233.508201:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:35349/devtools/browser/87887db8-1f52-482b-a153-db38f08e0685
[1835457:7:1025/130233.676131:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1835484:1835484:1025/130233.854259:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:45571/devtools/browser/8c4f7f57-8178-4dd2-b2eb-2d42f36ddb4d
[1835575:1835575:1025/130234.176449:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:37971/devtools/browser/54686d5b-16eb-4200-a8f8-fab8e6ead193
[1835611:1835611:1025/130234.320617:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:46753/devtools/browser/1680e4bb-115f-4daa-901c-6f523f280a24
[1835758:7:1025/130234.498229:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1835792:1835792:1025/130234.763998:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:33711/devtools/browser/8ba97d00-5504-4f9e-8422-0964355a4e49
[1835825:1835825:1025/130234.948100:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:34933/devtools/browser/63f4b91d-aee6-4f08-8a93-8a94f213f2ba
[1835959:7:1025/130235.130048:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1835978:1835978:1025/130235.284342:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:46839/devtools/browser/1912bcc0-84f9-480d-8e40-51d805ad0f11
[1836063:7:1025/130235.448650:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1836061:1836061:1025/130235.512068:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:40477/devtools/browser/3a4730b6-ff92-400a-9f93-58eec6e1c328
[1836190:1836190:1025/130235.868348:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:33517/devtools/browser/0048a921-e73e-4144-9b30-faca25af2865
[1836267:1836267:1025/130236.143983:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:34341/devtools/browser/54041d92-ea8a-47a0-9ff9-855f164df6d4
[1836363:1836363:1025/130236.366469:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:45951/devtools/browser/814d2719-47cd-405b-aedd-1ec93d9c88be
[1836506:1836506:1025/130236.712376:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:39211/devtools/browser/07a14229-22ca-44ed-96e9-9358922700c4
[1836555:7:1025/130236.905783:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1836605:1836605:1025/130237.028115:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:36039/devtools/browser/9df15e4d-2775-4a69-9400-abd9222fae0d
[1836696:1836696:1025/130237.325068:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:35759/devtools/browser/9dccce6d-5f2a-42bb-ac9d-598d6a7327c4
[1836777:7:1025/130237.458736:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[1836815:1836815:1025/130237.684735:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
DevTools listening on ws://<IP_ADDRESS>:39261/devtools/browser/5b97b1a7-c602-434b-bd89-6706c109e885

Making sure that the browser closed only resolved the error of hanging processes, the timeout still occurs.

@OrKoN If i read the debug output correctly, each browser has an unique ID. I double checked.
I will try removing the import next, but i have a feeling that's not it, when it always is 8/20 that is succesful.
The count would be more dynamic if the import in the CSS was failing

@SK-FComputer could your server be out of resources? note that the new headless consumes as much resources as the headful browser? is there enough disk space and enough memory?

It does report a funny virtual memory even for 1 PDF:

However one PDF download per API instance is always fine. When looking at the top of htop, the memory only increases a couple 100 mb, and i have 3 out of 32 GB used only.

@OrKoN The issue only exists in the case where the loadbalancer hits a generating instance

@OrKoN Can confirm with the CSS import the issue is with the import.
Tested multiple times with removing and adding again.
The issues arising is dynamic, most of the times 8 PDFs out of 20 gets genereated.
Doesnt look like a resource issue, the usage looks the same with and without

Also can confirm, not an issue with version 21.3.3

Also can confirm 21.3.8 is the last good version for me, 2.4.0 and 2.4.1 doesn't work.
Issue with roll to chrome 118 or ?

@SK-FComputer Can you try to run your code with version 21.4.1 and use PUPPETEER_EXECUTABLE_PATH env or executablePath property of the launch command - pointing to the old binary installed by 21.3.8.
(Path should be something like <Your-Path>/.cache/puppeteer/chrome/linux-117.0.5938.149/chrome-linux64/chrome)
That way we will know if the roll introduced the issue.
Also have you tried using, to see if using Incognito will help with this issue?
const context = await browser.createIncognitoBrowserContext();
const page = await context.newPage();

I confirm the issue on Puppeteer 21.4.1 with
{waitUntil: 'networkidle0'}

It was working perfectly until version 21.3, but on 21.4.1 it goes on timeout error.
Inspecting the page with devtools and network panel, there is no network activity but Puppeteer still waits until reaching the timeout.
Using
{waitUntil: 'load'}
// or
{waitUntil: 'domcontentloaded'}

it works as usual.

@daniele-orlando do you have the CDP log for this? (I am not able to repro this on my Mac, although it is 13). Note that networkidle0 means that Puppeteer waits for the networkidle event from the browser.

@Lightning00Blade I tried with the executeablePath and the issue is with the 118 chrome.
Using linux-117.0.5938.149/chrome-linux64/chrome didn't cause the issue with latest version of Puppeteer

@OrKoN Incognito didn't work with latest version of chrome.

@SK-FComputer can you create a test script demonstrates the issue? We would need to file the bug for Chrome but first we need to understand what exactly is going wrong.

My problem is that i can't reproduce it locally or on server with the error.
Uses same chrome and puppeteer version that fails on my servers.
Local: Arch 6.5.8-arch1-1 (BTW)
Servers: Ubuntu 22.04
The only thing that is different is that it uses PM2 for loadbalancing on server.
'use strict';

const Hapi = require('@hapi/hapi');
const { default: puppeteer } = require('puppeteer');

async function createPDF(html) {
	let browser;
	try {
		browser = await puppeteer.launch({
			headless: 'new',
		});
		const page = await browser.newPage();

		await page.setContent(html, { waitUntil: 'networkidle0' });

		const pdf = await page.pdf({
			format: 'a4',
			printBackground: true,
			displayHeaderFooter: true,
			headerTemplate: ' ',
			footerTemplate: `

                            /

                `,
			margin: { bottom: '20mm', left: '20mm', right: '20mm', top: 0 },
		});

		await page.close();
		await browser.close();
		return pdf;
	} catch (error) {
		console.error(error);
	} finally {
		if (browser !== null) {
			await browser.close();
		}
	}
}

async function PreResponseToPDF(request, response) {
	const {
		pdf: { html },
	} = request.app;

	const PDF = await createPDF(html);

	return response.response(PDF).code(200).type('application/pdf');
}

const init = async () => {
	const server = Hapi.server({
		port: 3000,
		host: 'localhost',
	});

	server.route({
		method: 'GET',
		path: '/pdf',
		handler: (request, h) => {
			request.app = {
				pdf: {
					html: `

                            <meta charset='UTF-8' />
                            <meta name='viewport' content='width=device-width, initial-scale=1.0' />
                            <meta http-equiv='X-UA-Compatible' content='ie=edge' />
                            <title>
                                    Invoice
                            </title>

                                        Product
                                        Price
                                        Quantity
                                        Total

                                        Product 1
                                        $10.00
                                        2
                                        $20.00

                                        Product 2
                                        $15.00
                                        1
                                        $15.00

                                        Product 3
                                        $5.00
                                        3
                                        $15.00

                    `,
				},
			};
			return 'Hello World!';
		},
		options: {
			ext: {
				onPreResponse: [
					{
						method: PreResponseToPDF,
					},
				],
			},
		},
	});

	await server.start();
	console.log('Server running on %s', server.info.uri);
};

process.on('unhandledRejection', (err) => {
	console.log(err);
	process.exit(1);
});

init();

We had some other reports related to PM2. I think it was mostly that PM2 might run a different Node version and people reported issues with the older Node version. Perhaps it's something of the same sort here if PM2 is the only difference.

Doesn't seem to be the issue, PM2 is using the correct and only node version installed:

This issue occurs with version 22.12.1 for example.
Works with version 22.5.x as expected for example.

Operating System
macOS
14.5


Bulk discounts

What I'm trying to achieve
I would like to apply a percentage discount to products automatically when a certain quantity has been added to the basket. As far as I can see this can currently be achieved with discount vouchers but not with standard sales discounts.
Describe a proposed solution
Probably the easiest solution would be to add the minimum requirements options that feature on the voucher discount settings to the sales discount settings. This would allow you to set a minimum quantity of products purchased before the percentage discount kicks in.

Alternatively, this use case can be addressed by product bundles that are coming in saleor 3.0:
https://spectrum.chat/saleor/saleor-3-0/saleor-3-0-product-bundles~d20d3b38-be69-4982-b27c-8fdf4a9bb89b


Removed terms non existent in PT and tweaked few phrases.

[x] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Translation were also found missing in other files, so I decided to close this PR and tackle issues separately, covering all documents where they appear at once.


printMetalConfig doesn't redact secrets

printMetalConfig doesn't redact secrets
Redact secrets or change/remote the debugging code.
Originally posted by @deitch in https://github.com/equinix/cloud-provider-equinix-metal/pull/185#discussion_r737204298

I think it actually does. The Config only has one truly sensitive field, AuthToken. When printMetalConfig wants to print it, it calls config.Strings(), which removes the token.
Nothing else sensitive is printed. I think we can close this. @displague ?


Remove outdated ui5-manifest schema not owned by SAP UI5

The json.schemastore.org/ui5-manifest.json has not been added by SAP UI5 and is outdated.
Meanwhile we have a SAP Open Source github
https://github.com/sap/ui5-manifest/blob/master/schema.json under
Apache-2.0 License which is referenced with name "UI5 Manifest" here in
JSON Schema Store, see
https://github.com/SchemaStore/schemastore/blob/master/src/api/json/catalog.json#L2281

Hi @silkearians ,
LGTM - IMO, we can suggest this PR.
BR,
Peter


Cant change parameters if imported.

Currently when run from the command line you can change the port and the encoding type. However, the variables are set as globals within the file instead of as class arguments. Given the HTTPServer takes a class as an argument and not an instance, I am not entirely certain how to modify the code to paramaterize the class in a way that would still make it usable with the BaseHTTPServer.  The end result of this is that you are unable to modify the port and encoding used if you import the class.  I am not normally a Python dev so I am not sure of an appropriate response to this issue.

I debated adding optional constructor params but it still has the issue of setting globals.


Committing line separator changes on Linux systems

Not applicable - addressing the issue described here: https://github.com/gunnarmorling/1brc/issues/101#issuecomment-1880246100
The root cause is that lacking .gitattrs the CMD file was originally committed with Linux file endings.
Adding gitattrs addresed line ending issues manifesting when one shares a FS between Windows and Linux (as is the case with WSL).

Ah yes, good catch. Thx!


Incompatible with Marium's Soulslike weaponry and Celestisynth

Mod Name
Marium's Soulslike weaponry & Celestisynth
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/mariums-soulslike-weaponry
Minecraft version
1.20.1
Describe the bug
Using both of these mods (Celestisynth & Marium's Soulslike weaponry) at the same time the game crashes. Using these mods separately they work
Steps to reproduce

...
Logs
https://pastebin.com/5kG1NvNh
Additional context
Celestisynth mod homepage: https://www.curseforge.com/minecraft/mc-mods/celestisynth

Duplicate of #231


Bug with intl pluralize with 3

This issue was originally filed by<EMAIL_ADDRESS>
When using Intl.plural with howMany as 3 it will fail due to a bug with an if statement. The issue is in intl.dart:
line 274: if (howMany == 3 || howMany == 4 && few != null) return few;
should be
line 274: if ((howMany == 3 || howMany == 4) && few != null) return few;
I am using dart version 1.6.0

This issue has been moved to dart-lang/intl#61.


【feature request】support more condense and static Full calendar interface

This is a great theme, thank you for creating it. I use the full calendar plugin daily to arrange my schedule, but when I change to this theme the interface of the full calendar will change and become less compact and more dynamic which is not good for displaying as much information in the limited space.
So, it would be great if you can make an option to keep the default or a more compact and static UI for opening the full calendar with the theme.

gap appeared after shift to big & bold

gap disappeared after switch to other theme

Thanks for letting me know about this design flaw. Sorry about the late reply, I've been kind of busy. I'll certainly fix this in the next update!

Fixed in the latest update. Enjoy!