.alert-dismissible as default target for Dismissible alerts

The Bootstrap docs indicated that "When using a .close button, it must be the first child of the .alert-dismissible ...".
But actually, the real target selector for the event is .alert.
It seems to me more logical to change the selector in the file alert.js at line number 39 to: $parent = $this.closest('.alert-dismissible')
Thus the .alert class unbinds from JavaScript and allows you to use dismissible alerts without must-have styles from the class .alert. Use only class .alert-dismissible, as described in the documentation.

That'd be something for v4 since all .alert-dismissible does is adjust the positioning and color of the .close button slightly so some people just leave it out. I'll make a note.


I'd like to try my hand at the spring integration

I think a little explanation, in broad terms, of what needs doing, would get me there. Any interest?

Yes of course. I think there is not too much to do. Create a new module under extension (camunda-bpm-reactor-spring) that uses the core.
This module should basically provide a camundaEventBus (and the wrapped eventBus) via Configuration class. So when I want to use the extension with spring, I do not have to provide my own configuration.
Based on this, it would be a good idea to additionally provide a way to enrich a given processEngineConfiguration with the plugin. I am not yet sure what the best way would be. Maybe you have an idea?

Hi rmoskal ... I had a few moments and started implementing the spring extension ... and now its finished. That does not interfer with work you already did. Checkout the PR, I will merge it tomorrow after some rest+review.


SAK-27494 prevent samigo from creating duplicate gradebook items (same name)

https://jira.sakaiproject.org/browse/SAK-27494
This has been sitting around in JIRA with a patch for over 2 years now.

Yep, I think it may have even been your suggestion/idea (from an old Longsight consultation ticket) @ottenhoff  :)

Awesome. Thanks for seeing this one through!

The comment on the jira says
"The patch proposed by Brian works. At least duplicated gradebook items aren't saved, but some exceptions are thrown:"
Do you know if this was still the issue? It sounded like a likely problem of double clicking. We saw this come up in evaluation recently. It's pretty infrequent but it does happen. Does it actually prevent it in the future from creating these or just in that quick request?

Looking back in the commentary, Earle's idea seemed like it would be have been better (catching future duplicates) and not resulted in any exceptions.

Looping in @bbailla2 as this was his work, and he would be more familiar with the details.

Yeah, I suppose there's no real harm to this, but it seems like all it does it allow the first transaction to finish, then the second one that comes in is going to throw a stack trace instead of inserting. So at best this is incomplete and should either also be blocked in the UI or prevented in the db layer

It's tricky, iirc the issue can't be reproduced consistently. As for the UI, we have the script to disable buttons and add spinners (preventing double click scenarios). As for the DB, unique constraints won't do on this table, since it's valid to have identical external gradebook items as long as there aren't more than one with "removed=0". I agree with you though, we should fix the stack traces, but it's not gonna be easy to pin point their root causes.


When league starts will bot show messages to all?

Basically a question in the title, wondering if they will be able to see the commands set for (matchups, scoring,etc.)

As far as commands go, Discord has what are called slash commands. The available commands to them will show when they start to type "/".

Basically a question in the title, wondering if they will be able to see the commands set for (matchups, scoring,etc.)

As far as commands go, Discord has what are called slash commands. The available commands to them will show when they start to type "/".

Oh! So basically they access to those commands even though they aren’t
admins?
On Wed, Aug 10, 2022 at 9:03 PM Jake Rubach @.***>
wrote:

Basically a question in the title, wondering if they will be able to see
the commands set for (matchups, scoring,etc.)
As far as commands go, Discord has what are called slash commands. The
available commands to them will show when they start to type "/".
—
Reply to this email directly, view it on GitHub
https://github.com/StoneMasons4106/sleeper-ffl-discordbot/issues/4#issuecomment-1211479544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2PCSDCVJV7KYZZUBWLNRHTVYRNQXANCNFSM56GN5YCA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from Gmail Mobile

I guess I need to understand the question a little further. Define 'show messages'. Most messages I programmed to be ephemeral so that people wouldn't be constantly pinged whenever someone is interacting with the bot.
As far as what commands regular users have access to, non admins would have access to every command except for kick, ban, unban, set-channel, add-league, or set-score-type.

Oh ok that makes sense. You answered my question lol. Thank you!
On Fri, Aug 12, 2022 at 12:46 PM Jake Rubach @.***>
wrote:

I guess I need to understand the question a little further. Define 'show
messages'. Most messages I programmed to be ephemeral so that people
wouldn't be constantly pinged whenever someone is interacting with the bot.
As far as what commands regular users have access to, non admins would
have access to every command except for kick, ban, unban, set-channel,
add-league, or set-score-type.
—
Reply to this email directly, view it on GitHub
https://github.com/StoneMasons4106/sleeper-ffl-discordbot/issues/4#issuecomment-1213363413,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2PCSDHP2OUN7X7YB7JUW63VY2EYHANCNFSM56GN5YCA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from Gmail Mobile


ADR0009 Pull Request template and communication guidelines

What?
I've added a Pull Request template and command to add it to projects.
Why?
Having a Pull Request (PR) template offers multiple benefits to a development team. It standardises the process of contributing changes, making it easier for both the author and the reviewers to understand the context and impact of the changes.
How?
This includes a Thor init command, template markdown file and documentation for the GitHub pages site.
Testing?
This commit includes a Thor test.
Screenshots (optional)
0
Anything Else?
The documentation references the GitHub communication guidelines with advice on the tone and approach to writing PRs and responding to them.

@ollietulloch if you're happy with this PR, I'll change the status to approved. Thanks


Vulnerability Report payment for E/E [302493]

We received this vulnerability report: https://github.com/Expensify/Expensify/issues/302493
It is a legitimate vulnerability and we need to pay<EMAIL_ADDRESS>I am not 100% sure what his GitHub handle is.
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~017e2270239ea6b868
Upwork Job ID:<PHONE_NUMBER>283215360
Last Price Increase: 2023-07-26

First time I got this style GH

Can you let me know when you get the user's GH handle? I can't find them in slack.

Sure thing. I've sent him an email asking for his GH handle.

Also will we give the bug reporter the opportunity to try fixing the vulnerability external? or is this internal?

I've already got a fix in for the vulnerability. It is not something that could be worked on externally.

https://stackoverflowteams.com/c/expensify/questions/15293/15294#15294
This is our internal Stack Overflow on how to compensate for this style of bug report. It's $1000 flat!

I'll wait for the GH handle (or Slack handle) to help issue the payment

GitHub username is TwistedSim (https://github.com/TwistedSim).

@twistedsim

Can you please apply to this upwork job so we can pay you for the vulnerability report? https://www.upwork.com/jobs/~017e2270239ea6b868

@joelbettner do we need the C+ assigned to this btw? Or can I unassign robertKozik?

@michaelhaxhiu I don't think we need a C+ assigned to this.

Can you please apply to this upwork job so we can pay you for the vulnerability report? https://www.upwork.com/jobs/~017e2270239ea6b868

I will do that!

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01bd541620ced552bd

Offer extended to you Simon! Please comment here after you accept it so that I can process the payment :) Thanks!

Hello @michaelhaxhiu , I just accepted the upwork offer.

Paid! Thanks again @TwistedSim.
If you haven't already, check out the Expensify Open Source program and you can join us in fixing more issues (for pay, of course!)
https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md


Raise an error if trying to serialize NaN or Infinity

It's debatable whether they should be supported. They are not valid JSON according to RFC8259, however the stdlib JSON does parse them by default and has an option not to.
RapidJSON also has a flag to parse them, but it's not set by this gem.
So I think this gem should either parse and generate them, or fail to do both, but right now it won't parse them but will hapilly generated broken JSON when encoding them.

Works for me. Ideally we would mirror the JSON libraries optional support for Infinitity/-Infinitity/NaN (though TBH I rarely actually want that)


Display location on the activities page for a campaign

Recommend displaying the location (at least the city & state detail in text - or ideally neighborhood if that field is included in the activity setup page for admins) next to the Map link on the activities summary page for a campaign to allow users to identify applicable locations with a minimum number of clicks.

I'll start poking on this one.

@Harmonym I have taken this approach...seem reasonable?

This facilitates the display of both the campaign and activity location, if present.


Import types from @medusajs/client-types

What
Import types from @medusajs/client-types package instead of importing from @medusajs/medusa core package.
Why
Importing from the core package can lead to side effects where other backend dependencies are imported in client code.
How
The @medusajs/client-types defines model relations as optional. This differs from the core package. This breaking change need to be handled.
Note that if an endpoint is known to automatically populate some of its model relations, the types representing its response will alter the shape of their model in order to declare specific relations as not-optional and not-null.

Replace all imports from @medusajs/medusa by @medusajs/client-types
Redeclare Props types that are expecting relations to be present by using @medusajs/client-types SetRelation type mutator.
Use a version of @medusajs/medusa-js that has been updated to use @medusajs/client-types
Use a version of medusa-react that has been updated to use @medusajs/client-types

PR with snapshot of medusa-js and medusa-react upgraded with client-types:
https://github.com/medusajs/medusa/pull/3529


UAMI without Contributor role: deploy log does not show proper error message

I setup a uami without contributor role and tried to deploy
Deploy failed as expected but the error log did not show any message related to uami role issue.

RG name: RK-Liberty-UAMI-Test-RG

{
    "status": "failed",
    "error": {
        "code": "DeploymentScriptError",
        "message": "The provided script failed with multiple errors. First error:\r\nDownloading client to \"/usr/local/bin/kubectl\" from \"https://storage.googleapis.com/kubernetes-release/release/v1.22.4/bin/linux/amd64/kubectl\". Please refer to https://aka.ms/DeploymentScriptsTroubleshoot for more deployment script information.",
        "details": [
            {
                "code": "DeploymentScriptError",
                "message": "Downloading client to \"/usr/local/bin/kubectl\" from \"https://storage.googleapis.com/kubernetes-release/release/v1.22.4/bin/linux/amd64/kubectl\""
            },
            {
                "code": "DeploymentScriptError",
                "message": "Please ensure that /usr/local/bin is in your search PATH, so the `kubectl` command can be found."
            },
            {
                "code": "DeploymentScriptError",
                "message": "Downloading client to \"/tmp/tmp04azuv2r/kubelogin.zip\" from \"https://github.com/Azure/kubelogin/releases/download/v0.0.10/kubelogin.zip\""
            },
            {
                "code": "DeploymentScriptError",
                "message": "Please ensure that /usr/local/bin is in your search PATH, so the `kubelogin` command can be found."
            },
            {
                "code": "DeploymentScriptError",
                "message": "ResourceNotFoundError: The subscription '9ef060d3-1c7d-47f0-ae5e-3be36d7ba188' could not be found."
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "% Total % Received % Xferd Average Speed Time Time Time Current"
            },
            {
                "code": "DeploymentScriptError",
                "message": "Dload Upload Total Spent Left Speed"
            },
            {
                "code": "DeploymentScriptError",
                "message": "0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "100 1901 100 1901 0 0 11807 0 --:--:-- --:--:-- --:--:-- 11881"
            },
            {
                "code": "DeploymentScriptError",
                "message": "% Total % Received % Xferd Average Speed Time Time Time Current"
            },
            {
                "code": "DeploymentScriptError",
                "message": "Dload Upload Total Spent Left Speed"
            },
            {
                "code": "DeploymentScriptError",
                "message": "0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "100 2587 100 2587 0 0 14292 0 --:--:-- --:--:-- --:--:-- 14292"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The connection to the server localhost:8080 was refused - did you specify the right host or port?"
            },
            {
                "code": "DeploymentScriptError",
                "message": "The Open Liberty Operator is not available."
            }

deployment.log only shows this:
bash-5.0# cat deployment.log
Unable to get the deployment open-liberty-operator, retry 1 of 99...
Unable to get the deployment open-liberty-operator, retry 2 of 99...
Unable to get the deployment open-liberty-operator, retry 3 of 99...
Unable to get the deployment open-liberty-operator, retry 4 of 99...
Unable to get the deployment open-liberty-operator, retry 5 of 99...
Unable to get the deployment open-liberty-operator, retry 6 of 99...
Unable to get the deployment open-liberty-operator, retry 7 of 99...
Unable to get the deployment open-liberty-operator, retry 8 of 99...
Unable to get the deployment open-liberty-operator, retry 9 of 99...
Unable to get the deployment open-liberty-operator, retry 10 of 99...
Unable to get the deployment open-liberty-operator, retry 11 of 99...
Unable to get the deployment open-liberty-operator, retry 12 of 99...
Unable to get the deployment open-liberty-operator, retry 13 of 99...
Unable to get the deployment open-liberty-operator, retry 14 of 99...
Unable to get the deployment open-liberty-operator, retry 15 of 99...
Unable to get the deployment open-liberty-operator, retry 16 of 99...
Unable to get the deployment open-liberty-operator, retry 17 of 99...
Unable to get the deployment open-liberty-operator, retry 18 of 99...
Unable to get the deployment open-liberty-operator, retry 19 of 99...
Unable to get the deployment open-liberty-operator, retry 20 of 99...
Unable to get the deployment open-liberty-operator, retry 21 of 99...
Unable to get the deployment open-liberty-operator, retry 22 of 99...
Unable to get the deployment open-liberty-operator, retry 23 of 99...
Unable to get the deployment open-liberty-operator, retry 24 of 99...
Unable to get the deployment open-liberty-operator, retry 25 of 99...
Unable to get the deployment open-liberty-operator, retry 26 of 99...
Unable to get the deployment open-liberty-operator, retry 27 of 99...
Unable to get the deployment open-liberty-operator, retry 28 of 99...
Unable to get the deployment open-liberty-operator, retry 29 of 99...
Unable to get the deployment open-liberty-operator, retry 30 of 99...
Unable to get the deployment open-liberty-operator, retry 31 of 99...
Unable to get the deployment open-liberty-operator, retry 32 of 99...
Unable to get the deployment open-liberty-operator, retry 33 of 99...
Unable to get the deployment open-liberty-operator, retry 34 of 99...
Unable to get the deployment open-liberty-operator, retry 35 of 99...
Unable to get the deployment open-liberty-operator, retry 36 of 99...
Unable to get the deployment open-liberty-operator, retry 37 of 99...
Unable to get the deployment open-liberty-operator, retry 38 of 99...
Unable to get the deployment open-liberty-operator, retry 39 of 99...
Unable to get the deployment open-liberty-operator, retry 40 of 99...
Unable to get the deployment open-liberty-operator, retry 41 of 99...
Unable to get the deployment open-liberty-operator, retry 42 of 99...
Unable to get the deployment open-liberty-operator, retry 43 of 99...
Unable to get the deployment open-liberty-operator, retry 44 of 99...
Unable to get the deployment open-liberty-operator, retry 45 of 99...
Unable to get the deployment open-liberty-operator, retry 46 of 99...
Unable to get the deployment open-liberty-operator, retry 47 of 99...
Unable to get the deployment open-liberty-operator, retry 48 of 99...
Unable to get the deployment open-liberty-operator, retry 49 of 99...
Unable to get the deployment open-liberty-operator, retry 50 of 99...
Unable to get the deployment open-liberty-operator, retry 51 of 99...
Unable to get the deployment open-liberty-operator, retry 52 of 99...
Unable to get the deployment open-liberty-operator, retry 53 of 99...
Unable to get the deployment open-liberty-operator, retry 54 of 99...
Unable to get the deployment open-liberty-operator, retry 55 of 99...
Unable to get the deployment open-liberty-operator, retry 56 of 99...
Unable to get the deployment open-liberty-operator, retry 57 of 99...
Unable to get the deployment open-liberty-operator, retry 58 of 99...
Unable to get the deployment open-liberty-operator, retry 59 of 99...
Unable to get the deployment open-liberty-operator, retry 60 of 99...
Unable to get the deployment open-liberty-operator, retry 61 of 99...
Unable to get the deployment open-liberty-operator, retry 62 of 99...
Unable to get the deployment open-liberty-operator, retry 63 of 99...
Unable to get the deployment open-liberty-operator, retry 64 of 99...
Unable to get the deployment open-liberty-operator, retry 65 of 99...
Unable to get the deployment open-liberty-operator, retry 66 of 99...
Unable to get the deployment open-liberty-operator, retry 67 of 99...
Unable to get the deployment open-liberty-operator, retry 68 of 99...
Unable to get the deployment open-liberty-operator, retry 69 of 99...
Unable to get the deployment open-liberty-operator, retry 70 of 99...
Unable to get the deployment open-liberty-operator, retry 71 of 99...
Unable to get the deployment open-liberty-operator, retry 72 of 99...
Unable to get the deployment open-liberty-operator, retry 73 of 99...
Unable to get the deployment open-liberty-operator, retry 74 of 99...
Unable to get the deployment open-liberty-operator, retry 75 of 99...
Unable to get the deployment open-liberty-operator, retry 76 of 99...
Unable to get the deployment open-liberty-operator, retry 77 of 99...
Unable to get the deployment open-liberty-operator, retry 78 of 99...
Unable to get the deployment open-liberty-operator, retry 79 of 99...
Unable to get the deployment open-liberty-operator, retry 80 of 99...
Unable to get the deployment open-liberty-operator, retry 81 of 99...
Unable to get the deployment open-liberty-operator, retry 82 of 99...
Unable to get the deployment open-liberty-operator, retry 83 of 99...
Unable to get the deployment open-liberty-operator, retry 84 of 99...
Unable to get the deployment open-liberty-operator, retry 85 of 99...
Unable to get the deployment open-liberty-operator, retry 86 of 99...
Unable to get the deployment open-liberty-operator, retry 87 of 99...
Unabe to get the deployment open-liberty-operator, retry 88 of 99...
Unable to get the deployment open-liberty-operator, retry 89 of 99...
Unable to get the deployment open-liberty-operator, retry 90 of 99...
Unable to get the deployment open-liberty-operator, retry 91 of 99...
Unable to get the deployment open-liberty-operator, retry 92 of 99...
Unable to get the deployment open-liberty-operator, retry 93 of 99...
Unable to get the deployment open-liberty-operator, retry 94 of 99...
Unable to get the deployment open-liberty-operator, retry 95 of 99...
Unable to get the deployment open-liberty-operator, retry 96 of 99...
Unable to get the deployment open-liberty-operator, retry 97 of 99...
Unable to get the deployment open-liberty-operator, retry 98 of 99...
Unable to get the deployment open-liberty-operator, retry 99 of 99...
Timeout and exit due to the maximum retries reached.
bash-5.0#


Don't add CORS headers to a fallthrough response

The problem is related to #803: we got stricter about what is a fallthrough in 0.15, without making good use of the type system.  The elimination of Fallthrough in 0.16 prevents this bug on master.
Fixes #933. /cc @mxl

Build failure is #817.


Travel_Website[GSSOC'23]

Describe the project
Hello Sir/Ma'am👨💻 ,I am Arpan Chowdhury, a aspiring Web developer.🤖 Here is the project of the front-end Web Development. This repo contains my project on Travel Website ✈ using HTML,CSS . It contains the landing page of a travel tour company website👨🏻💻.We oftenly search for many travelling places here & there , So Here is it🚤
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[X] New Project

Additional context

Screenshots

Please assign me the issue under GSSOC'23.

@TusharKesarwani @siddhi-244 @Arun9739 Please assign me the issue under SSOC 2.0

Please assign me this issue

@TusharKesarwani @siddhi-244 @Arun9739 Please assign me this issue

Already present in the repo


Add isset() check for $values['_locale']

Just updating one of our projects we got into the issue 130. @bobdenotter did some debug and fixed it.
This PR fixes #130

Thanks! :+1:


Add unleash-community-google image

About the changes
Add a new community docker image with passport-google-oidc lib embedded to keep using Google authentication hook since official Unleash docker image does not contain this lib anymore.

Closes #155
Discussion points
I'm not familiar with NodeJS environment, so I may have missed something, but I built this image and tested it on a dev environment, it seems to work as expected.
To make it work, I had to update my hook code to use the passport-google-oidc lib instead of passport-google-oauth2 one. For this, I just followed the official doc.
Here is my new google-auth-hook.js file:
'use strict';

const passport = require('@passport-next/passport');
const GoogleStrategy = require('passport-google-oidc'):

const  { AuthenticationRequired } = require('unleash-server');

function enableGoogleOauth(app, config, services) {
    const { baseUriPath } = config.server;
    const { userService } = services;

    passport.use(
        new GoogleOAuth2Strategy(
            {
                clientID: process.env.GOOGLE_CLIENT_ID,
                clientSecret: process.env.GOOGLE_CLIENT_SECRET,
                callbackURL: process.env.GOOGLE_CALLBACK_URL,
            },

            async (issuer, profile, done) => {
                const email  = profile.emails[0].value;
                const user = await userService.loginUserWithoutPassword(email, true);
                done(
                    null,
                    user
                );
            },
        ),
    );

    app.use(passport.initialize());
    app.use(passport.session());

    passport.serializeUser((user, done) => done(null, user));
    passport.deserializeUser((user, done) => done(null, user));
    app.get(
        '/api/admin/login',
        passport.authenticate('google', { scope: ['email'] }),
    );

    app.get(
        '/api/auth/callback',
        passport.authenticate('google', {
            failureRedirect: '/api/admin/error-login',
        }),
        (req, res) => {
            // Successful authentication, redirect to your app.
            res.redirect('/');
        },
    );

    app.use('/api', (req, res, next) => {
        if (req.user) {
            return next();
        }
        // Instruct unleash-frontend to pop-up auth dialog
        return res
            .status(401)
            .json(
                new AuthenticationRequired({
                    path: '/api/admin/login',
                    type: 'custom',
                    message: `You have to identify yourself in order to use Unleash.
                        Click the button and follow the instructions.`,
                }),
            )
            .end();
    });
}

module.exports = enableGoogleOauth;

Do you want me to open a PR on unleash-examples project as well to update this hook ?

Do you want me to open a PR on unleash-examples project as well to update this hook ?
If you would, I'd appreciate it :)

Do you want me to open a PR on unleash-examples project as well to update this hook ?

If you would, I'd appreciate it :)

Here you are: https://github.com/Unleash/unleash-examples/pull/285

Nice. Thank you for this.

Would it be possible to re-trigger the pipeline (or add a new tag ?), so we can have a version 6.0.0 available for this new docker image too ? For now, we only have one daily build available. Thanks


Update examples to work with latest version of code

The main problem seems to be that the static linear model definition has changed, but it looks like the EBHLM model definition may also change (https://github.com/imperialCHEPI/healthgps/issues/531).
This doesn't need to be done until I've released the examples (#25). Are you happy to take this one at that point @jamesturner246? I'd be happy to have a go, but I'm not sure what realistic numbers for the new parameters would look like.

I'll put this on hold whilst the example stuff is ongoing.

Some extra notes: mostly KevinHall etcetera schemas are updated, so old models shouldn't need much change if any, only newer.
Also CI needs updating to use the latest schemas available for each model config.


Version in homebrew is outdated

https://github.com/Homebrew/homebrew-core/blob/master/Formula/d/docker-slim.rb points to the slimtoolkit repo and is thus behind on versions.

it's a community formula... will be good to update


[CanvasKit] NetworkImage.load gets stuck if image downloading fails

Steps to Reproduce

Paste the following code:

void main() {
  runApp(
    MaterialApp(
      home: Scaffold(
        body: Center(
          child: Image.network(
            "http://bad-url.com",
            loadingBuilder: (context, child, loadingProgress) {
              return Container(height: 100, width: 100, color: Colors.yellow);
            },
            errorBuilder: (context, error, stackTrace) {
              return Container(height: 100, width: 100, color: Colors.red);
            },
          ),
        ),
      ),
    ),
  );
}

Run the application: flutter run -d chrome --release --dart-define=FLUTTER_WEB_USE_SKIA=true

Expected results (DomCanvas):

Actual results (CanvasKit):

In the code above I use Image.network for convenience.
However, IMHO, this issue is related to NetworkImage._loadAsyncimplementation  from _network_image_web.dart.
It seems like if this future throws an error, it will never be completed, so Image.errorBuilder will never be invoked.

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.121, on Mac OS X 10.15.6 19G2021, locale en-RU)
• Flutter version 1.22.0-10.0.pre.121 at /Users/krasnov/sdk/flutter
• Framework revision 6c1a29e54c (12 hours ago), 2020-09-09 20:05:05 -0400
• Engine revision 564367b297
• Dart version 2.10.0 (build 2.10.0-107.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
• Android SDK at /Users/krasnov/Library/Android/sdk
• Platform android-30, build-tools 30.0.0
• ANDROID_HOME = /Users/krasnov/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.10.0.beta.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.48.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.14.1
[✓] Connected device (3 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
• Web Server (web)            • web-server    • web-javascript • Flutter Tools
• Chrome (web)                • chrome        • web-javascript • Google Chrome 85.0.4183.83
• No issues found!

Hi @vs-krasnov,
Please see these related issues and check if they resembles with yours?
https://github.com/flutter/flutter/issues/54010
https://github.com/flutter/flutter/issues/49725
https://github.com/flutter/flutter/issues/45955
Thanks.

@darshankawar, thanks for your response!
Unfortunately, nope. None of them are related to this issue.
Image.network (or NetworkImage) works as expected if a provided URL is valid.
My issue happens when image downloading fails for any reason.

Issue replicable on latest master.

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.161, on Mac OS X 10.15.4 19E2269,
    locale en-IN)
    • Flutter version 1.22.0-10.0.pre.161 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision cba91c97d0 (9 hours ago), 2020-09-13 18:57:03 -0400
    • Engine revision 2fc054147e
    • Dart version 2.10.0 (build 2.10.0-121.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • SM A260G (mobile)                   • 5200763ebcfa861f
      • android-arm    • Android 8.1.0 (API 27)
    • iPhone SE (2nd generation) (mobile) • 312977A7-2DB1-4737-AEBB-35FA6522A309
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)
    • Web Server (web)                    • web-server
      • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 85.0.4183.102

• No issues found!

debug mode shows the expected:


Store Algorithm Readme

HKube micro-service
Dashboard
Describe the bug
Unable to store readme, returns error 409
{"error":{"code":409,"message":"algorithm alg-test20 already exists"}}
Expected behavior
Show readme on algorithm tab.
To Reproduce
Steps to reproduce the behavior:

Edit Algorithm
Submit

#423 Problem within API-Server


2075/feat/external gamedao

unclutter dev situation and use gamedao based on release or patch local dev to your preference

add subzero-ext to test gamedao external references to bin
add patch references for gamedao protocol to cargo.toml

@2075 what would be the difference between this and subzero-dev environment?

it is for testing the external dependency. also draft pr


[SPARK-11641][SQL] Exchange plan string is too verbose

By default it says "TungstenExchange(Shuffle without coordinator)". It should just say "TungstenExchange".

Merged build triggered.

Merged build started.

LGTM

Test build #45562 has started for PR 9609 at commit ae70876.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/45562/
Test FAILed.

Closing in favor of https://github.com/apache/spark/pull/9607/files#diff-68c52246700eb099b0c896a3dacb5580


Feature Request: Support for Boolean_Input (Helpers)

Hello
I've got a few boolean helpers for home/away, day time/night time which I use in my automations. It would be great to be able to switch these on/off (true/false really) to trigger automations.
I hope that this is something you would consider adding if at all possible?
Thank you in advance

Can thy be turned on and off using homeassistant.turn_on and homeassistant.turn_off services?
Is the value of the state on and off?
If both questions are answered with yes, it‘ll be very easy. If not, it will be probably still be easy, but I’d need the correct services and states.

Would this work?
service: input_boolean.turn_off metadata: {} data: {} target:   entity_id: input_boolean.device_helper

I have also checked and it is possible to do with homeassistant.turn_on and homeassistant.turn_off

If you are using the home assistant addon, i'll just need one or two more days to setup a proper release flow. I'll add another comment, when this is released there.


Fix/incorrect document titles

Codecov Report

Merging #31 (96b9484) into develop (52ea7ac) will decrease coverage by 23.99%.
The diff coverage is 44.44%.

@@             Coverage Diff              @@
##           develop      #31       +/-   ##
============================================
- Coverage    92.01%   68.02%   -23.99%
============================================
  Files            7        7
  Lines          613      616        +3
  Branches        68       68
============================================
- Hits           564      419      -145
- Misses          32      174      +142
- Partials        17       23        +6

Impacted Files
Coverage Δ

esparto/_layout.py
91.02% <ø> (-0.75%)
:arrow_down:

esparto/_publish.py
35.29% <0.00%> (-51.07%)
:arrow_down:

esparto/_contentdeps.py
76.47% <45.45%> (-23.53%)
:arrow_down:

esparto/__init__.py
100.00% <100.00%> (ø)

esparto/_adaptors.py
42.86% <0.00%> (-57.14%)
:arrow_down:

esparto/_content.py
62.26% <0.00%> (-30.19%)
:arrow_down:

Continue to review full report at Codecov.

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


BMI Calculator -yashwanthvarma18

Developer Checklist

[x] Followed guidelines mentioned in the readme file.
[x] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[x] Starred ⭐ the Repo (Optional)

Summary
I have developed a BMI Calculator using HTML, CSS, and JavaScript. The BMI Calculator takes user input for height and weight, calculates the Body Mass Index (BMI), and provides a BMI category. It also features a professional user interface with background styling.
Screenshot

@PBJI Please reviw and merge

@NitkarshChourasia  Please review and merge


functional_tests: Inject PYTHONPATH

The tests fail when the installation prefix is different
from the Python prefix, and PYTHONPATH is used to map the
installation prefix into the current Python namespace.

ping @sashahart


Bug when Start TaskBar

When i'm click Taskbar (Example Youtube icon), she shows about "Could not find path: C/ProgramFiles(x86) and bla bla bla...

When i'm create new, shows this

When i'm click Taskbar (Example Youtube icon), she shows about "Could not find path: C/ProgramFiles(x86) and bla bla bla...

When i'm create new, shows this

When i'm click Taskbar (Example Youtube icon), she shows about "Could not find path: C/ProgramFiles(x86) and bla bla bla...

When i'm create new, shows this

I just resolved the same issue easily so I'll tell you how.

First, make sure the program is closed and that you have Hidden Files and Folders showing (see below) on your Windows system, doesn't look like it is from the image you included.

Open the folder where the Taskbar Groups is located,

Open the config folder, locate the folder YouTube (it looks like, might be Friends), and delete the YouTube folder.

I had a Security Folder and was getting the same error so I removed the Security folder in the program and when I tried to make it again even though I didn't see it the program said it was already there so I made a new one called Security Apps. The problem was I got an error like you every time I opened the program. I went in and with Hidden Files and Folders showing could see there was still a folder named Security in the directory so I deleted it and the next time I opened the program no more error message.
If you do not know how to show hidden, this is how.
Open File Explorer from the taskbar.
Select View > Options > Change folder and search options.
Select the View tab and, in Advanced settings, select Show hidden files, folders, and drives and OK.

Thanks for the solution. Is there any way to see the name of the programme icon when we move the mouse cursor over it?


:sparkles: Pattern Finder Class (Please)

Is your feature request related to a problem? Please describe.
Creating a pattern finder over and over again is quite frustrating!
Describe the solution you'd like
Create a PatternFinder Class that can accept the following arguments:
    //The class itself might get a Big O Notation of O(n²) lmao.
    final String input;
    final int pattern_size;
    final int max_pattern_list_length;

Describe alternatives you've considered
~Read 1st question
Additional context
Nope, N/a

Resolved with: https://github.com/JumperBot/Java-SomeUtils/commit/18183a1a885b01a19989e95bcbaf2acc63b1b38a


Non-ascii characters in doc comments offsets are miscounted

let stream: TokenStream = FromStr::from_str("//! a").unwrap();
for tree in stream {
    eprintln!("{:?}", tree.span().end());
}

let stream: TokenStream = FromStr::from_str("//! Ø").unwrap();
for tree in stream {
    eprintln!("{:?}", tree.span().end());
}

prints:
LineColumn { line: 1, column: 5 }
LineColumn { line: 1, column: 5 }
LineColumn { line: 1, column: 5 }
LineColumn { line: 1, column: 6 }
LineColumn { line: 1, column: 6 }
LineColumn { line: 1, column: 6 }

I suspect the problem is here, where the cursor is advanced using byte positions instead of character positions.

Span counts bytes not characters

I was under the impression that LineColumn.column is character-based, not byte-based: https://docs.rs/proc-macro2/1.0.13/proc_macro2/struct.LineColumn.html
IIRC, the mismatch does not occur if you change the doc comments with explicit doc attributes.

if we count in characters, in which byte is the "a" in this text?
"ØØaØ" LineColumn { line: 1, column: 2 }
How do we mark the snippets in each line? With an oracle?

I would accept a PR to fix this to match libproc_macro's behavior, which is character based.

I'll give it a try

https://github.com/botika/proc-macro2/blob/master/src/fallback.rs#L407-L422
If all I have are the byte of the line, and a range. @dtolnay  I ask the same thing again, are you going to implement an oracle, or realloc the text, or past text as argument? I honestly don't understand. I will learn a lot with the solution.

@botika you need the text anyway in order to turn line+column into a byte offset in the file. Once you have source text, adding up the byte size of the first N characters on a line to get a byte offset is not hard.

https://github.com/botika/proc-macro2/blob/master/src/fallback.rs#L325-L346
When you create the cursor, then there is no text to look at this on.
https://github.com/botika/proc-macro2/blob/master/src/fallback.rs#L305
The only thing it keeps is the line number. Do you want to convert that line number to utf-8 first and then measure utf-8 in the parser.
It is quite expensive and it does not affect the compile_error!, in addition to not being able to know the byte with the LineColumn output, the only output there is.
Come on you break me yarte.

When you create the cursor, then there is no text to look at this on.

Your link is to private implementation code inside proc-macro2. Yes, fixing the bug means changing code, possibly including that code.

Ok, the implementation of Span in utf-8 characters, I'll find a solution to frame it with the bytes. Thank you. See you.


[Package] MediatR Extension version 11.1.0 deprecated

Removal of deprecated package in Application layer

MediatR.Extensions.Microsoft.DependencyInjection version 11.1.0

It's already taken care in the newer upcoming release. Refer to the v2 branch.


Select Element Options Bug

If the options values of the selectbox are filled asynchronously,  the first option will always be selected.
Please fix this.

fixed in https://github.com/plusnew/plusnew/pull/105


Automatically get infiniband interface name

Describe the Request
The MargoStore and UCXStore require interface as a parameter. We may be able to make this optional and figure out the interface name automatically. Otherwise, we will remove the TODOs.
Relevant TODOs:

https://github.com/proxystore/proxystore/blob/8f06b3b7b0431c6b5d0dd8d902eba34b2b2a600e/proxystore/store/dim/ucx.py#L49
https://github.com/proxystore/proxystore/blob/8f06b3b7b0431c6b5d0dd8d902eba34b2b2a600e/proxystore/store/dim/margo.py#L63

Sample Code
No response

@ValHayot mentioned that UCX can also automatically get the name so we should look into that as a part of this issue.


Testing new test coverage for Build Menu

[Current coverage][cc-pull] is 89.21%

Merging [#97][cc-pull] into [master][cc-base-branch] will increase coverage by 0.11%

@@             master        #97   diff @@
==========================================
  Files            22         22
  Lines          2458       2466     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2190       2200    +10
+ Misses          268        266     -2
  Partials          0          0

Powered by Codecov. Last updated by [5a4a425...41a701d][cc-compare]
[cc-base-branch]: https://codecov.io/gh/CyberReboot/vent/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/CyberReboot/vent/compare/5a4a425df2f2b0ac79d909e19b8446e85fa5867f...41a701d65fd76374abf0c484d3c4ff167dad1228?src=pr
[cc-pull]: https://codecov.io/gh/CyberReboot/vent/pull/97?src=pr


PPV negative value on ET inverter

Hi,
I have a GW3600-EH inverter and some months ago I started to get a -2 W read on the ppv sensor when there is no solar production.
I was debugging the code and the problem seems to be on this line
https://github.com/marcelblijleven/goodwe/blob/29de1c4303fffd3e984eb3314db4b5085fbaf334/goodwe/et.py#L35-L41
Although a filter to reject the ppv3 and ppv4 values is used, the ppv sensor gets populated using the Calculated class using a lambda function that pulls all the 4 current power.
The issue is that when accessing the ppv3 and ppv4 using the read_bytes4, the function returns a -1, therefore the sum will be 0+0+(-1)+(-1).
Could you help me to solve this issue? I don't know exactly how we could avoid reading this values?
Thanks!

something like this would solve it
Calculated("ppv",
                   lambda data:
                   max(0, read_bytes4(data, 10)) +
                   max(0, read_bytes4(data, 18)) +
                   max(0, read_bytes4(data, 26)) +
                   max(0, read_bytes4(data, 34)),
                   "PV Power", "W", Kind.PV),

this just sets that is the value of the read_byte4 is a negative value set it to 0
so 0+0+(-1)+(-1) would become 0+0+(0)+(0)

Hello,
this might be problem of inverter calibration from production - in my case GW10K-ET I have problem with offset between -0,3 and -0,2A on battery current measurement, so in cosequence it also incorrectly calculates battery energy charged. The same problem is visible in PVMaster / SolarGo. I solve it for more than 6 months with GoodWe support.
Regards,
Jan

Hi @jenicek001,
I'm 100% sure the problem is not on the inverter as I was debugging the code. I'll try the solution @oziee suggest tonight and I'll update here.
Thanks


⚠ Minecraft has degraded performance

In 6fbe782, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1276 ms

Resolved: Minecraft performance has improved in d6074b0.


⚠ Bofrost.be has degraded performance

In dc280dc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1020 ms

Resolved: Bofrost.be performance has improved in 4261828 after 7 minutes.


circuits.circuittermination is not listed in choices API for cable:termination_a/b_type

Environment

Python version:  3.5.2
NetBox version:  2.5.10 / 2.6 dev

Steps to Reproduce

Create a cable with one end connected to the A or Z termination of a circuit
View that cable in the API, confirming that termination_a_type or termination_b_type is returned as circuits.circuittermination
View the /dcim/_choices/ endpoint, confirm that cable:termination_a_type does not have circuits.circuittermination listed.

Expected Behavior
Return a circuit termination 'choice' table in the _choices API for cable:termination_a_type/cable:termination_b_type:
{
  "label": "circuit termination",
  "value": "circuits.circuittermination"
},

Observed Behavior
Only dcim.* object types are shown as choices for cable:termination_a_type/cable:termination_b_type

I was trying to figure out why this wasn't causing issues when connecting a cable to a circuit termination. It's because the cable creation forms currently (in v2.5) only allow connecting a cable from a circuit termination to some device component; the "B" side is never a circuit termination. Hence why this was missed.


Independent install for each service, and documentation to accomodate.

Just a repeat of this comment in the OpenRC Support PR

Nice. The normal install function still has the systemd service, is that intentional?

No! I fixed it. Thanks.


Redirects to Kubesimplify github repo

I have changed the url which used to redirects to Docusaurus github repo #24

@anubha-v-ardhan

/hold

@shaggyyy2002 This PR has commits with changes on README along with the required link updates. Can you fix it?

i dont know how to do it

i dont know how to do it

You can revert commits (see https://git-scm.com/docs/git-revert)

i dont know how to do it

you can also do rebase

use git rebase -i HEAD~2
replace pick with d for the commit you want to remove
force push the changes


Optional fields not so optional as they seems...

Example:
This code works well:
db.find({   selector: {name: 'Mario'},   fields: ['_id', 'name'],   sort: ['name'] });
And this does not:
db.find({   selector: {name: 'Mario'} });
Error:

TypeError: Cannot convert undefined or null to object
at checkFieldsLogicallySound (https://nolanlawson.github.io/pouchdb-find/dist/pouchdb.find.js:1869:35)
at checkIndexMatches (https://nolanlawson.github.io/pouchdb-find/dist/pouchdb.find.js:1893:24)
at findMatchingIndexes (https://nolanlawson.github.io/pouchdb-find/dist/pouchdb.find.js:1910:24)
at findBestMatchingIndex (https://nolanlawson.github.io/pouchdb-find/dist/pouchdb.find.js:1922:25)
at planQuery (https://nolanlawson.github.io/pouchdb-find/dist/pouchdb.find.js:2163:15)
at https://nolanlawson.github.io/pouchdb-find/dist/pouchdb.find.js:1663:21

Documentation says:

fields (Optional) Defines a list of fields that you want to receive. If omitted, you get the full documents.
sort (Optional) Defines a list of fields defining how you want to sort. Note that sorted fields also have to be selected in the selector.

What error do you get?
On Wed, Jun 8, 2016 at 11:22 PM, Artem<EMAIL_ADDRESS>wrote:

Example:

This code works well: db.find({ selector: {name: 'Mario'}, fields:
['_id', 'name'], sort: ['name'] });
And this does not: db.find({ selector: {name: 'Mario'} });

Documentation says:
fields (Optional) Defines a list of fields that you want to receive. If
omitted, you get the full documents.
sort (Optional) Defines a list of fields defining how you want to sort.
Note that sorted fields also have to be selected in the selector.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nolanlawson/pouchdb-find/issues/198, or mute the
thread
https://github.com/notifications/unsubscribe/AAK9An3q-IxYYmK5VkLQWfNShAedsnzgks5qJzKjgaJpZM4Ixaol
.

@garrensmith Refresh page.

If the query specifies a sort like this:
{"selector":{"_id":{"$exists":true}},"fields":["_id","city"],"sort":[]}

where sort is an empty array, then an error of "Cannot convert undefined or null to object".
The error is generated when creating "var isDecending" where requestDef.sort is tested. Adding a test of
requestDef.sort.length>0 &&

after "requestDef.sort &&" solves the problem when sort is an empty string. This was discovered when working with Polymer's app-pouchdb-index.
When the fields array is empty in the selector
{"selector":{"_id":{"$exists":true}},"fields":[],"sort":[]}

the result is an empty object. This is true even after the above fix with or without sort being an empty array. The problem is when requestDef.fields is tested to see if it exists and not also to see if it is empty. So it was solved by adding the second test to this line
  if (requestDef.fields && requestDef.fields.length>0) {

Unfortuately I just installed Couchdb 2.0 on my local machine and I'm unable to set up the environment for testing as specified in the Contributing doc. So I've not submitted a pull request.

This issue was moved to pouchdb/pouchdb#6268


Move position of menu items

Hi,
Can anyone help me move the menu items (icon + title) higher up? I find that the title text is sitting too close to the bottom. Image attached for reference.

DPI was incorrect


Movement Counter to Home Assistant?

Great bridge to transfer data to Home Assistant. Thanks! However, one question. RuuviBridge decodes data from my RuuviTag like this:
{
    "name": "Postilaatikko",
    "mac": "xx:x...",
    "timestamp":<PHONE_NUMBER>,
    "data_format": 5,
    "temperature": 6.875,
    "humidity": 42.0975,
    "pressure": 100399,
    "accelerationX": -0.192,
    "accelerationY": -1.076,
    "accelerationZ": -0.076,
    "batteryVoltage": 3.016,
    "txPower": 4,
    "rssi": -84,
    "movementCounter": 114,
    "measurementSequenceNumber": 6553
}

But I can not find ruuvitag_MAC_movementCounter MQTT topic under homeassistant/sensor and probably for that reason I can find only these sensors in my Home Assistant:

I'd like to see the Movement counter data in Home Assistant. Is this a missing feature or something else maybe?

Apparently I managed to forget the movement counter from the published HA discovery topics. It should be fixed now and a new release should be built in a few minutes


"Import" suggestions should be before "Change spelling" suggestions

I face the following situation multiple times per day.

Type some code.
Variable is not defined/imported.
Press ctrl+enter to trigger the quick fixes menu.
"Change spelling" is always the first suggestion.
Press down arrow and select the import suggestion.

TypeScript Version:  3.9.2, 4.0.0-dev

Search Terms:
Import, suggestion, spelling
I tried to google it, but I couldn't find any solutions.
Code
See the screenshot above.
Expected behavior:
The import suggestion should be the first entry in quick fixes.
Actual behavior:
The import suggestion is the last entry in quick fixes.
Related Issues:
#23258 I think it broke it. Also please see the last comment, @krryan mentions the same problem.

Another example. I must press unnecessary 'down arrow' multiple times.

I guess if you've got an exact match, that is more desirable.
Side note @mjbvz, I wonder if there's a way to group some of these "fix all"s better so that the list doesn't get too long.

The fix should simply be a matter of reordering when each codefix gets registered by updating the tsconfig.json in services/

@DanielRosenwasser Opened https://github.com/microsoft/vscode/issues/98613 for 'add all missing imports' coming in the middle of the other import actions

@DanielRosenwasser if it's that simple to fix I'm happy to submit a PR here? Or is there something I am missing, given @mjbvz's comments?

 I can see that in services/tsconfig.json we are already calling importFixes.ts before fixSpelling.ts
I also changed the test case CodeFixSpellingVsImport.ts to check if import fix is being called before change spelling suggestion and I see it passing(it should not according to current behavior)
This test case is similar to what op has posted
/// <reference path='fourslash.ts' />

// Tests that the import fix is returned first.

// @Filename: /abc/a.ts
////export const ChallengeLoader = 0;

// @Filename: /b.ts
////const ChallengeHeader = 0;
////ChallengeLoader;

goTo.file("/b.ts");
verify.codeFixAvailable([
    { description: `Import 'ChallengeLoader' from module "./abc/a"` },
    { description: "Change spelling to 'ChallengeHeader'" },
]);

I might be missing something here.
TLDR: We are missing something here, task needs more investigation

Thank for the head's up @arunaaabh95
So if this is fixed, presumably it's in TS 3.9, which is bundled in VSCode.
Yet, having just checked this myself, the issue is still there.
My assumption at the moment is that there is some code in VSCode changing the order of fixes.
A few avenues to explore:

Is there another IDE we can test with (besides VSCode Insiders, which might be worth testing)? Does Atom or IntelliJ use the same TS services?
Track down how the suggestions are generated and walk through the code. Probably some good old fashioned console.log()ing?

We're probably looking at creating some custom VSCode release using a modified version of TS? This could take a while.

Also, where is CodeFixSpellingVsImport.ts BTW?

Update: After reading this similar issue #27614. These changes need to be handled on the editor side

@Gum-Joe
you can find CodeFixSpellingVsImport.ts in test/cases/fourslahses directory

Thank you @arunaaabh95. I'll probably have a look tonight or at some point myself. It seems the fix for this is quite large and could be a major refactor? I agree with the above comment saying this is not a good first issue, since the fix looks quite big? (still going to work/help with it though)

@Gum-Joe I think @DanielRosenwasser and @mjbvz  are better judge of this,
I started looking at this issue today itself and this is the first time I have investigated this code base but opening an issue in vscode seems to the right direction to me

Glad to see there's already an issue files for this! Any update here?

changed the code error number in diagnosticsMessages.json just in case to make sure import comes before check spelling. Don't think this is an issue within TypeScript, but more so with VS Code's suggestions ordering?

@mjbvz can you give us an idea of what might be re-ordering suggestions? Emacs has the correct order so I think that eliminates the language service as the cause of this.


Update configs for reference genomes

10 reference genomes from iLocus paper
some genomes from Hymenoptera
extend list of RNA types

Codecov Report

Merging #89 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #89   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          17     17
  Lines        1838   1838
  Branches      193    193
=====================================
  Hits         1838   1838

Continue to review full report at Codecov.

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


Improve k8s short-circuit documentation

Made the explanations more explicit
Highlight where domain socket must be mounted

Closes #9574
pr-link: #9575
change-id: cid-64d9819d9dc0a440b0b0a53de119761f27a42214
Also includes changes from #9586

Misleading information and typos were introduced in #9575

Resolving typos and misleading information
pr-link: #9586
change-id: cid-f1a439f8925533693ee2b5d540f524cfec45332b

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4770/
Test PASSed.

PTAL @madanadit

I will make another PR to master to fix the issues, then update this PR with those changes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4788/
Test PASSed.

Thanks @ZacBlanco!

alluxio-bot, merge this please.


feat: add externalLinkPrefixes support

Summary
Related Issue

close #1673
Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

I'd like to add related tests and document if this proposal is accepted.

Can you write docs about this config and add more unit test for isExternalUrl function as well as new e2e test for this case with checkDeadLinks enabled?

Sure, current PR is only basic proposal, I'll update rest part after you agree with this approach.

Sure, current PR is only basic proposal, I'll update rest part after you agree with this approach.

@SoonIter Do you have any suggestions for approach to solve this issue？

Another case is maybe we can support dynamic external link patterns?

@SoonIter Do you have any suggestions for approach to solve this issue？

not much, I think externalLinkPrefixes should be externalLinkIncludes and receiving RegExp[] maybe more flexible

What does Includes mean for? I'd like to use RegExp instead also.

I'll change to use RegExp instead then.

I'll change to use RegExp instead then. But naming externalLinkPatterns maybe?

LGTM


remove sections in html deemed not useful for us

remove pattern matching for youtube video because it is not good

@ndaversa please review


Typing Issue: リマインド (remind)

Category of the typing issue

Out-of-vocabulary (e.g. "夕日" is not in the candidate list at all).

Issues
Write issues to the following table. (It's in the markdown format)

input [e.g.ゆうひ]
expected [e.g. 夕日]
actual [e.g. ユウヒ]

りまいんど
リマインド
理マインド

Version or commit-id
Mozc-2.28.4960.101+24.11.oss
Additional context
Confirmed on macOS 13.1 22C65 arm64

This is a question that does not relate to this issue:
I want to report typing issues to make the mozc vocabulary better, but I often concern about that need some help of core contributors such as @hiroyuki-komatsu -san to implement it to the actual dictionary. May I implement typing issue into the mozc dictionary directly using pull requests without your strong help? Also I would appliciate if there is a guide to contribute about that.
Thank you for creating/maintaining mozc!

Hi siketyan,
Thank you for your feedback.
We are going to add entries based on your feedback.
I appreciate your kind offer for advanced contributions. It's totally fine for me to update the dictionary based on reports from you all, but I'm also happy to receive your PRs for dictionary updates. :-)
The commit for リネーム is a good reference to get started:

edit data/oss/aux_dictionary.tsv (word data) and data/test/quality_regression_test/oss.tsv (test data)
generate data/dictionary_oss/evaluation.tsv (evaluation data)

To editaux_dictionary.tsv, please check https://github.com/google/mozc/tree/master/src/data/oss/README.md
To generate evaluation.tsv, please run the following build and copy the generated file.

bazel build data/dictionary_oss:evaluation --config oss_linux

Thank you,

@hiroyuki-komatsu
Thank you for the quick fix and the guide!
I will try updating the dictionary through a pull request when I found a new typing issue.
Also it would be great if the guide is written in README.md, CONTRIBUTIONS.md, or somewhere (if you can as your policy) for other people who wants to contribute in typing issues.
Closing this issue as resolved.

I have just noticed that the fix commit is for "リネーム", not for "リマインド".
So this issue is not resolved yet. Sorry for the mistake.
I am going to add the entry to the dictionary following the guide if @hiroyuki-komatsu -san has not started for this yet.

Sure, I will write a note about how to add words to the dictionary.
I have not started making a commit for this issue yet. :-)
Please feel free to ask questions if there are some unclear points for you.
Thanks,


Add warning, when task produce not verbose ENOENT error

Task name: ArchiveTaskV2
Description: Add verbose error, when file or directory to archive does not exists.
Documentation changes required: No
Added unit tests: No
Attached related issue: Yes, https://github.com/microsoft/azure-pipelines-tasks/issues/16202
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

/azp run

/azp run

@mmrazik could you please review this pull request?

/azp run


More customizable status bar.

Is this what you meant by more customizable status bar in #46 ?

I'm not sure, maybe it would be simpler to define a couple of functions (e.g. draw_tagsymbol) which are then called from drawbar?

Yes, this function is getting large, even larger if further changes come.
I will try...

I realize that this is bikeshedding.  Let's focus on the stability instead.  :)


[Snackbar] TranslationY does not change on window resize

When using the snackbar component, the css property "transform: translationY()" is calculated when the component is loaded and don't change if screen resize so if the screen gets bigger you can see part of the "hidden" snackbar when it's supposed to be totally hidden from the screen.

[x] This is a v1.x issue (v0.x is no longer maintained).
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

On window resize the translateY property of the hidden snackbar should change or recalculate its size to make sure it's totally hidden from the screen.
Current Behavior

On window resize if the screen gets bigger the snackbar component translateY property stays the same so you can actually see part of it on the screen.
Steps to Reproduce (for bugs)

Add the snackbar component with the next anchorOrigin properties: <Snackbar anchorOrigin={{ vertical: 'top', horizontal: 'right' }} />
Load the page where a Snackbar component is mounted on an iPad screen in portrait mode (768x1024).
Change to landscape mode (1024x768).
You should now see on the top right corner the shadow of the "hidden" snackbar.

Your Environment

Tech
Version

Material-UI
v1.0.0

React
v15.6.1

@balonsom Can you provide a reproduction example?


dvc run option -O

Hello! What should I use dvc run option -O for? It seems, no action behind it.

Hello @dzubape!
-O is the same as -o option, but resulting file will not be added under dvc control. It can be used to output files that you not necessarily want dvc to track . For example, in case of small text files, you might want to track  them with git.
Is this explanation helpful?
PS. We have help chat where you can ask questions. Usually we respond there faster than or github.


error: failed to get openbrush as a dependency

I got this following error when build my psp22 contract
error: failed to get `openbrush` as a dependency of package `my_psp22 v1.0.0 (/Users/danielng/WorkStation/Personal/Ink!/erc20)`

Caused by:
  failed to load source for dependency `openbrush`

Caused by:
  Unable to update https://github.com/Brushfam/openbrush-contracts?tag=v4.0.0-beta

Caused by:
  failed to find tag `v4.0.0-beta`

Caused by:
  reference 'refs/remotes/origin/tags/v4.0.0-beta' not found; class=Reference (4); code=NotFound (-3)

This is my Cargo.toml
[dependencies]

ink = { version = "4.2.1", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true }

# Include brush as a dependency and enable default implementation for PSP22 via brush feature
openbrush = { tag = "v4.0.0-beta", git = "https://github.com/Brushfam/openbrush-contracts", default-features = false, features = ["ownable, psp22"] }

[lib]
name = "my_psp22"
path = "lib.rs"

[features]
default = ["std"]
std = [
    "ink/std",
    "scale/std",
    "scale-info/std",
    "openbrush/std",
]
ink-as-dependency = []

You have a wrong tag, it should be 4.0.0-beta instead of v4.0.0-beta


Feature: Submit without all fields required

Current behavior:
Back-end crashes when all fields are not filled out
Change:
Allow user to submit without all fields filled out
OR
Make all fields required before submission

Fixed by not running back-end without all fields being filled. Can be further improved on by making all fields required on the Front-End but this works for now.


Remove obsolete bazel native.http_archive rule

Bazel 0.20 (maybe earlier) removed support for native.http_archive() and
native.http_file(). One has to explicitly download the Skylark files
now. As Bazel gets updated more or less automatically, the builds
starting breaking.
Last night gRPC released 1.17.2 which also removed their usage of
native.http_archive(), so we need to upgrade gRPC at the same time.
Because the new http_archive() does not support (or need) workspace
files we do not need to define one to build the googleapis protos.
Testing these changes was painful, as I had to manually remove the Bazel
cache (in $HOME/.cache/bazel/*) to reproduce some of the problems
locally. I am just saying that to maybe help other developers in the future.

This change is

Ready for review, please take a look.


wait-for-mongo: command not found

My deploy process failed today on the Invoking deployment process step. The STDERR message was
bash: line 54: wait-for-mongo: command not found

When accessing the page after deploy, I got error 503. After updating mup to the current version, the process still say it fails on that step (with line number 55 this time), though the app works fine now.

I have exactly the same issue. After installing wait-for-mongo on the server, mup cannot connect to the specified port.
0curl: (7) Failed to connect to localhost port 58000: Connection refused

@LeCoupa looks like I'm running into the same issue as you did back in `15.  Had issue, installed wait-for-mongo, and fix it, but now got the forever issue.  Did you do a npm install -g forever ?

yes that's what I did if I remember.


fix: subsequent init support

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature
Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area plugin-sdk

/area tests

What this PR does / why we need it:
This PR changes the way we initialize the plugin object in the SDK in order to support multiple re-initializations.
See SetFuctory() comment for more detail.
Which issue(s) this PR fixes:

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

new(pkg/sdk/plugins): introduce FactoryFunc and SetFactory()

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Do not use "nearest-neighbour" filter when resizing image

See report in Simple-Gallery app. Nearest-neighbour is poor quality because it can make a lot of artifacts (e.g. Moiré-patterns).

Hey!
I start a new project to handover this library
https://github.com/CanHub/Android-Image-Cropper
The ideia is that we keep improving because this project don’t have updates since 2018
Hope I can count with your help.
Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract


buffer: Add queued_chunks_limit_size to control the number of queued chunks

Releated to https://github.com/fluent/fluentd/issues/1904
Current patch resolves generating lots of queued chunks with small flush_interval.
Note that v0.12's the number of queues is 1.
I will check how control this parameter with write families.

@mururu How about this change?


How to  make autograd differrentiate the following model correctly?

from autograd.numpy import sum

...

def g0(vector: list) ->float:
	return -0.0 + sum([fn(vector) for fn in groups[g0]])

groups={g0: ..... }

def predict(vector: list) ->float:
	res = [group(vector) for group in groups]
	return res

The problem is that autograd derivatives of predict and g0 with return different results when invoked.

I imagine they do, as if I'm reading your snippet correctly g0 returns a scalar (that recursively calls g0?) and predict returns a list.
Try to explain in greater detail exactly what you feel the problem is, and why you feel like both functions should have the same gradient.

g0 returns a scalar

Yes.

(that recursively calls g0?)

There are no recursive calls at all. g0 is a key in the groups dict for convenience only. groups[g1] is an array of functions returning scalars. g0 just sums them all. predict just calls each group against the feature vector and returns the array of results.

Try to explain in greater detail exactly what you feel the problem is,

The gradients of predict are always 0. and the warning Output seems independent of input is always emitted. The gradients of g1 are mostly zeros, but not all of them, some gradients are of the order of magnitude of 1..

and why you feel like both functions should have the same gradient.

In this degenerate case predict just returns what g1 returns, so why should they be different?

Gotcha.  Can you post a complete example that I can run on my machine that will reproduce the exact errors with traceback you're getting?

Yes, but not now, on Monday.

@jermwatt added the example


PHOENIX-6059 Adding more pagination tests

@dbwong please take a look this additional tests for the RVC feature

Overall whats there look good for initial.  I think we may want to add at least some views to the set of tables as I looked closer and did not see view/tenant views.  What do you think?


Link from model library to testing page

resolves #104
https://user-images.githubusercontent.com/10998465/132332597-dfa8c80c-6490-44cb-9952-efc21a23fcc1.mp4

looking good, but let's make sure the testing page is marked as such, for each task (just that people don't confuse training&testing for each task, and can switch easily)

opened #126 to fix this in a separate PR.


Refresh on open

If a tab is already opened at localhost:... and the server is (re)started, that tab should be refreshed.

That means, the newly spawned server would have to know of this tab somehow. Any idea on how to do this?
Doing it from the client side could also be an option. E.g. upon detection that the connection to the server is lost, it could regularly check for a new server to get a new version of the page.

Ha thanks for answering (and hi!, I'll be in Zurich around the 18th 😝 ), I have no idea and was hoping you would 🙈 . I reckon it's not a super important issue but would be cool. I reckon client side makes more sense (?) by reviewing tabs or something, not sure how that can be done.

Would have to get into the whole thing again -- no idea how we implemented it in detail back then :wink: Agree, I don't see any option how the newly spawned server should know of any running clients. But the clients can just try to connect to the same server (localhost, same port) again...
Yeah, busy times here. Will check tomorrow if I happen to be around Zurich for work on the 18th. Probably not... the offer with BBQ and beers near Lake Constance is still on though :wink:

This would probably be solved by #23