typescript generics are interpreted as html tags

The following is valid typescript using generics
const stringArray: Array<string> = new Array<string>();

It seems that highlightjs interprets the angled brackets as html since it tries to insert a closing tag.
Here's a pastebin that shows the problem.

You should escape angle brackets in HTML to have them displayed literally. This has nothing to do with highlight.js, actually. The way you have it in the pastebin, your code snippet has actual HTML tags <string>, which browser interprets like tags.


Bringing R C++ code up to date with the main C++ code

Apologies, I forgot to reply.
Can we basically leave the python/C versions with the variable and just do
the removal of those variables in the R wrapper version?

Muhammad Saad Shamim http://mshamim.com/

On Tue, Jun 22, 2021 at 9:54 AM Craig Wenger @.***>
wrote:

@.**** commented on this pull request.
In C++/straw.cpp
https://github.com/aidenlab/straw/pull/77#discussion_r656302722:

@@ -494,8 +494,8 @@ map<int32_t, indexEntry> readMatrixHttp(CURL *curl, int64_t myFilePosition, cons
membuf sbuf(buffer, buffer + size);
istream bufin(&sbuf);

int32_t c1 = readInt32FromFile(bufin);
int32_t c2 = readInt32FromFile(bufin);

readInt32FromFile(bufin);

@sa501428 https://github.com/sa501428 Does the latest commit satisfy
your concern?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aidenlab/straw/pull/77#discussion_r656302722, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRT23MF6K2FQZ2O6P7KCDDTUCP2JANCNFSM466GBOEA
.

Apologies, I forgot to reply. Can we basically leave the python/C versions with the variable and just do the removal of those variables in the R wrapper version? - Muhammad Saad Shamim http://mshamim.com/
…
On Tue, Jun 22, 2021 at 9:54 AM Craig Wenger @.> wrote: @.* commented on this pull request. ------------------------------ In C++/straw.cpp <#77 (comment)>: > @@ -494,8 +494,8 @@ map<int32_t, indexEntry> readMatrixHttp(CURL *curl, int64_t myFilePosition, cons membuf sbuf(buffer, buffer + size); istream bufin(&sbuf); - int32_t c1 = readInt32FromFile(bufin); - int32_t c2 = readInt32FromFile(bufin); + readInt32FromFile(bufin); @sa501428 https://github.com/sa501428 Does the latest commit satisfy your concern? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#77 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRT23MF6K2FQZ2O6P7KCDDTUCP2JANCNFSM466GBOEA .

@sa501428 Absolutely; done in the latest commit.


node-red from snap

First, thanks for all the work
If i try to use node-red from snap
node-red                   3.1.0                       883    latest/stable       noderedteam✓     -
when i try to install it, i get it
024-04-16T18:06:14.072Z Install : @background404/node-red-contrib-python-venv 0.0.2
2024-04-16T18:06:14.075Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict<EMAIL_ADDRESS>2024-04-16T18:06:14.285Z [err] npm
2024-04-16T18:06:14.285Z [err]  WARN
2024-04-16T18:06:14.285Z [err]  config production Use --omit=dev instead.
2024-04-16T18:06:14.487Z [err] npm
2024-04-16T18:06:14.487Z [err]  ERR! code 127
2024-04-16T18:06:14.487Z [err] npm ERR! path /var/snap/node-red/883/node_modules/@background404/node-red-contrib-python-venv
2024-04-16T18:06:14.488Z [err] npm
2024-04-16T18:06:14.488Z [err]  ERR!
2024-04-16T18:06:14.488Z [err]  command failed
2024-04-16T18:06:14.488Z [err] npm
2024-04-16T18:06:14.488Z [err]  ERR! command
2024-04-16T18:06:14.488Z [err]  sh -c python setup.py
2024-04-16T18:06:14.488Z [err] npm
2024-04-16T18:06:14.488Z [err] ERR! sh: 1: python: not found
2024-04-16T18:06:14.490Z [err]
2024-04-16T18:06:14.490Z [err] npm ERR! A complete log of this run can be found in: /root/snap/node-red/883/.npm/_logs/2024-04-16T18_06_14_255Z-debug-0.log
in the snap, you can find python3

@ezesolares
Thank you for your report to the issue!
I have never used node-red with snap, so I will try to build an environment and try it out.
Reading the error text, it is saying that the python program failed to execute.
This node runs setup.py when installing to create a virtual environment.
On the page about installing with snap, it says;

When installed as a Snap package, it will run in a secure container that does not have access to some extra facilities that may be needed for you to use

It also says the following at the end;

If you need access to system hardware or to add nodes that require compilation then we recommend using a full install of Node-RED and not using the snap.

This may be the reason why you cannot run the program.
Could you please check it out?

The python-venv node creates a virtual environment with Python on the system.
Note here that Snap may not be able to access Node-RED's extra facilities.
I am closing this issue once as there has been no reply for a long time.
If you encounter same problems, you can reopen it again.


#787 Enter Key to Login/Sign Up

What does this pull request aim to achieve? 💯
Please be concise and link any related issue(s):

[x ] I have checked that no one else is working on similar changes.
[ x] I have read the latest README and understand the development workflow.
[ x] The name of this branch is: feature/<branch_name>, or hotfix/<branch_name> if this is a hotfix, where <branch_name> briefly describes the issue(s) resolved and is prefixed with the issue number(s) (e.g. 1127-1130-update-git-branching-model). The branch is created in a cloned version of this repo, not a forked repo.
[ x] This branch is rebased/merged with the latest staging (or the latest production if it is a hotfix).
[x ] There are no merge conflicts.
[ x] There are no console warnings and errors.
[ x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".
[ x] The title describes the issue(s) being addressed using format: <issue_numbers> - <brief_issue_description> (e.g. #1127/#1130 - Update Git Branching Model)

@adisen here is the fix for #787

Hi @galeza, sure let me check this

Hi @galeza I was not able to reproduce your error, mine is working as expected:

Hi @guvarallo
Strange. I'm using: https://feature787-enter-key-to-login.fightpandemics.xyz/
join now screen I hit enter or press Sign In button:

I don't know how to explain this.
I'll ask other QAs for confirmation.

Hi @rabbi08 , @jessica-lau
Please check this PR. Especially https://feature787-enter-key-to-login.fightpandemics.xyz/auth/check-email screen.
I have a message: We just emailed a link to {email}. Click the link to confirm your account and complete your profile.

Hi @galeza, strange indeed, I tried once again and all is ok:

@guvarallo @galeza I used build https://feature787-enter-key-to-login.fightpandemics.xyz/auth/check-email and I couldn't reproduce the error Agnieszka saw. My message displayed as expected. I'm testing it on Chrome in Windows 10.

hi @guvarallo
I think it has something to do with a browser/system version. On Safari I see:

I have an issue with this configuration: MacOs High Sierra, Chrome 85.0.4183.121 (Official Build) (64-bit).

Hi @galeza I have no way to test this in your configuration. This code does not change anything in post-signup page, it simply adds the functionality to press enter in the form. Have you testes if this issue happens in the staging branch as well?

My advice is to add this request as a new issue, since this PR does not affect the post-signup page

@guvarallo
I agree with you.
I'm accepting this PR.
BTW staging works normally for me. It's really strange.


wait for wakeup networks

If several tagged networks are connected to the Bond interface - for example, a management network and a dedicated network for NFS or GlusterFS storage. In this case, networks with tags other than management do not have enough time to wake up after reconfiguring the host networks. The role checks through the management network whether the host is running. As a result, the task of connecting the storage fails

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically. ( keep in mind this list might be overwritten if the job XML is refreshed, for permanent whitelisting, please follow #3 option )
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

ci test please

logic refactored

ci test please

ci add to whitelist

@gorbyo , can you fix the CI linting error https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-ansible-hosted-engine-setup_standard-check-pr/detail/oVirt_ovirt-ansible-hosted-engine-setup_standard-check-pr/488/pipeline

[2020-07-21T08:16:20.891Z] 201 Trailing whitespace
[2020-07-21T08:16:20.891Z] /home/jenkins/workspace/oVirt_ovirt-ansible-hosted-engine-setup_standard-check-pr/ovirt-ansible-hosted-engine-setup/tasks/create_storage_domain.yml:4
[2020-07-21T08:16:20.891Z]   - name:  Wait for the storage interface to be up

@gorbyo , can you fix the CI linting error https://jenkins.ovirt.org/blue/organizations/jenkins/oVirt_ovirt-ansible-hosted-engine-setup_standard-check-pr/detail/oVirt_ovirt-ansible-hosted-engine-setup_standard-check-pr/488/pipeline

[2020-07-21T08:16:20.891Z] 201 Trailing whitespace
[2020-07-21T08:16:20.891Z] /home/jenkins/workspace/oVirt_ovirt-ansible-hosted-engine-setup_standard-check-pr/ovirt-ansible-hosted-engine-setup/tasks/create_storage_domain.yml:4
[2020-07-21T08:16:20.891Z]   - name:  Wait for the storage interface to be up
fixed

OST test passed


Is it possible to include markdown or HTML in the answers?

I would really like to be able to include links, screenshots, and other formatting in the answers, but I don't see how to do this because they are formatted as TOML valuels. Example:
[[items]]

question = "How do I sign up?"
answer = "Click 'Get Started' on WordBrewery's [homepage](https://wordbrewery.com). You can sign up with Google, Facebook, or email. If you sign up with your email, you will receive a confirmation email confirming that your address was entered correctly. Click the link in that email to activate your account."

The link in the answer appears literally and is not parsed. Is there anything I can do about this?
Thank you!

Hy,
Did you find the solution for this problem please?

Hi,
I modified line 37 of the themes index.html file to look like this:
<p>{{.answer | markdownify}}</p>
This will let you use some markdown in your answers.

Thank you so much casprung! It works great!


feat: make default_iteration_wait on state_machines configurable

What this PR changes/adds
Makes the State machines iteration wait times to be configurable.
Why it does that
Currently the iteration wait times on the state machines is hardcoded to 5 seconds, would be good to have them configurable
Linked Issue(s)
Closes #2093
Checklist

[x] performed checkstyle check locally?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

Codecov Report
Base: 64.16% // Head: 64.15% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (b59cdc1) compared to base (7ad1432).
Patch coverage: 25.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2140      +/-   ##
==========================================
- Coverage   64.16%   64.15%   -0.01%
==========================================
  Files         805      805
  Lines       17054    17056       +2
  Branches     1098     1098
==========================================
+ Hits        10942    10943       +1
- Misses       5656     5657       +1
  Partials      456      456

Impacted Files
Coverage Δ

...connector/transfer/core/CoreTransferExtension.java
0.00% <0.00%> (ø)

...ceconnector/contract/ContractServiceExtension.java
95.83% <50.00%> (+0.05%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


CASMTRIAGE-5937 Update sls.md with Authenication Token details.

Description

Checklist

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

Update sls.md with Authenication Token details

/backport release/1.4

/backport release/1.6


Create stdin wrapper to implement Seeker

Signed-off-by: Prasad Ghangal<EMAIL_ADDRESS>Change Overview

Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Issues

#XXX

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

Closing w.r.t https://github.com/kanisterio/kanister/pull/1331


Tuning tau_major_absorption_kernel

First tuning done by @julietbravo. Optimal block size (11,1,3). Please have a second look, @isazi and @benvanwerkhoven.


feat!: Implement CommonReferenceString trait

This is a draft implementation of https://github.com/noir-lang/acvm/pull/231 to see how the API worked out.
Closes #160

I'm see a lot of DNS failures on Linux. Do we know why or any way to avoid them? Is there a misconfiguration on the AWS bucket where the CRS lives? Or is it a problem with the Reqwest library (searching the internet for the error shows many similar errors from Reqwest...)?
We wouldn't have seen these errors with the old implementation because we were caching in CI and then we were using Nix to fetch.


fix: author blocked props

Ticket
https://github.com/VirtusLab/strapi-plugin-comments/issues/-<your-ticket-#>
Summary

disable filtering of author entities for admin panel
", " changed to "," in admin's panel comments settings page

Test Plan

all author props are available for admins
in settings page just "," can be used as items delimiter

Codecov Report

Merging #191 (d9d0777) into develop (c325e3f) will increase coverage by 0.09%.
The diff coverage is 100.00%.

:exclamation: Current head d9d0777 differs from pull request most recent head ac7d47f. Consider uploading reports for the commit ac7d47f to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           develop     #191      +/-   ##
===========================================
+ Coverage    79.43%   79.53%   +0.09%
===========================================
  Files           34       34
  Lines          890      894       +4
  Branches       294      299       +5
===========================================
+ Hits           707      711       +4
  Misses         179      179
  Partials         4        4

Flag
Coverage Δ

unittest
79.53% <100.00%> (+0.09%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/services/common.ts
79.88% <100.00%> (+0.45%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Update some dependencies & related tweaks

This is a bit of a grab bag, but mainly I'm refreshing the dependencies of libs and tools and generally keeping the build env fresh and consistent. :-)

@gd this PR overlaps with your pr #97  -  I figure we both did the work around the same time but I wanted to fix the CI before pushing this work. Since your pr uses the latest version but this makes the more modest change to v0.6.2 I figure we can take this and then use your version to figure out what's needed to use the newest controller gen. How's that sound?


Update README.md

Added command (apt install unzip) at sonarqube configure

Apt install unzip command added at sonarqube configure


Kali Install fail

Please paste the output of the following command here: sudo edit-chroot -all

name: kali
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali...
crouton: version 1-20210907212903~master:9b281df5
release: kali-rolling
architecture: arm64
targets: core,xiwi,xfce,extension
host: version 14268.67.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.208-12427-gf85a69d601ba #1 SMP PREEMPT Sun Dec 12 19:32:15 PST 2021 aarch64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20210907212903~master:9b281df5
release: xenial
architecture: arm64
xmethod: xorg
targets: xfce
host: version 14268.67.0 (Official Build) stable-channel hana
kernel: Linux localhost 4.19.208-12427-gf85a69d601ba #1 SMP PREEMPT Sun Dec 12 19:32:15 PST 2021 aarch64 aarch64 aarch64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...#### Please describe your issue:
If known, describe the steps to reproduce the issue:

Could you provide some logs, or the full output of the command that is giving you this issue.


Shen version6

In this pull request, you create new classes and interfaces about his use case "delete recipe". Then created delete recipe interface adapter and use case. New method is clearly show what the method’s function , para and what type would be return, because adding the JavaDoc to each method and add final before all needed variables. That avoid many check style problems and facilitate others to understand the required input, return content, and specific functions of these codes. Convenient for others to extend. Well done!


Not required (optional) fields in multipart/form-data don't have types in swagger

Environment:

Python version: 3.12
Operating system: Windows 11
Flask version: 3.0.0
flask-openapi3 version: 3.0.0

When request content is of type multipart/form-data every kind of field (FileStorage, bool, etc.) seems to be displayed just as a text field.
In the screenshot below you can see the flask-openapi3 3.0.0 version on the left side and on the right side there is 2.5.4 version with the same code.

I can't reproduce your problem, please paste your code.

This worked in the previous version (doesn't work in this one)
class UploadFileForm(BaseModel):
    file: Optional[FileStorage]
    # other fields

It was changed by the pydantic-bump to
class UploadFileForm(BaseModel):
    file: Optional[FileStorage] = None
    # other fields

and still doesn't work.
Standard case when the field is required works fine for me:
class UploadFileForm(BasePydanticModel):
    file: FileStorage
    # other fields

So I am not able to declare a Form field which is not required according to the Pydantic docs:
https://docs.pydantic.dev/latest/migration/#required-optional-and-nullable-fields
because then there will be no field types in swagger.

f7 can solve your problem.

I don't understand how f7 solves the problem.
I will try to explain in a different way.
It is not possible to declare a Form field which at the same time:

Is not required
Has correct type shown in swagger.
When you use f7 you only achieve the 1st point and the field in swagger is just a text input e.g. for the FileStorage field.

You misunderstood, use file: FileStorage = None, not file: Any= None.

Okay, so it seems like file: FileStorage = None is the only type that works the way you describe, but others don't.
class RequestForm(BaseModel):
    file: FileStorage = None
    some_text: str = None
    some_bool: bool = None

I got it.
This issue as same as the #128 that will be fix by #129.

@fluffybrain3 It's worked for me!
from pydantic import BaseModel

from flask_openapi3 import OpenAPI, FileStorage

app = OpenAPI(__name__)

class RequestForm(BaseModel):
    file: FileStorage = None
    some_text: str = None
    some_bool: bool = None

@app.post('/upload/file')
def upload_file(form: RequestForm):
    print(form)

    return {"code": 0, "message": "ok"}

if __name__ == '__main__':
    app.run(debug=True)

Hmmm, okay, now it's possible to declare a not required field in a Form this way.
But if you add the Optional type hint it doesn't work.
According to the Pydantic docs not required field should be declared with the Optional.
Without the Optional you cannot tick the "Send empty value" for e.g. int, bool types, because it will throw an error "Input should be a valid boolean, unable to interpret input".
class RequestForm(BaseModel):
    file: Optional[FileStorage] = None
    some_text: Optional[str] = None
    some_bool: Optional[bool] = None

class RequestForm(BaseModel):
    file: FileStorage = None
    some_text: str = None
    some_bool: Optional[bool] = None

Adding Optional will add an additional type "type": "null".
I don't think Swagger UI is ready for this yet. Or rather, there is no need for multi type support.
Therefore, the best solution currently is not to use Optional and not to send empty value.
"RequestForm": {
    "properties": {
        "file": {
            "format": "binary",
            "title": "File",
            "type": "string"
        },
        "some_bool": {
            "anyOf": [
                {
                    "type": "boolean"
                },
+               {
+                   "type": "null"
+               }
            ],
            "title": "Some Bool"
        },
        "some_text": {
            "title": "Some Text",
            "type": "string"
        }
    },
    "title": "RequestForm",
    "type": "object"
}

I mean, in the flask-openapi3 v2.5.4
some_bool: Optional[bool] = None
some_bool: Optional[bool]

were parsed like this
"some_bool": {
    "title": "Some Bool",
    "type": "boolean"
}

Version 3.0.0 changed it to
"some_bool": {
    "anyOf": [
        {
            "type": "boolean"
        },
        {
            "type": "null"
        }
    ],
    "title": "Some Bool"
}

So was that change intentional?

I discovered another problem with Optional in v3 that didn't occur in v2.
from typing import Optional
from uuid import UUID

from flask_openapi3 import OpenAPI
from pydantic import BaseModel

app = OpenAPI(__name__)

class RequestQuery(BaseModel):
    entity_ids: Optional[list[UUID]] = None

@app.post('/entities')
def upload_file(query: RequestQuery):
    print(query)

    return {"code": 0, "message": "ok"}

if __name__ == '__main__':
    app.run(debug=True)

Pydantic v2 and OpenAPI 3.1 both follow JSON schema specification draft 2020-12.
https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#data-types
https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-4.2.1
Here is an issue in Pydantic v2: https://github.com/pydantic/pydantic/issues/5394#issuecomment-1499529462
Overall, {"type": "null"} is a newly supported type.
Option[bool] and Union[None, bool] are the same, generating the same JSON schema.
"anyOf": [
        {
            "type": "boolean"
        },
        {
            "type": "null"
        }
    ]

How about Union[None, bool, str, int, ...]? That will be generating more types, Swagger UI cannot handle it.
In summary, this is the reason for the problem.
Therefore, we need to avoid using multiple types in the form (application/form) but can use them in the body (application/json).


Running into issue when exiting Chrome Remote Desktop remote session

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
General
Steps to reproduce
I sometimes use Chrome Remote Desktop to remote into my PC (the one with the PowerToys installation) and noticed this would happen every time I would exit the remote session.
✔ Expected Behavior
No issues.
❌ Actual Behavior
"Something went wrong."
Log: 2022-12-13.txt
When trying to copy the text from the error window another error window actually came up and then both quickly disappeared! Hopefully that log has all that text in it.
Other Software
Chrome Remote Desktop (could not find a version, but most likely the most recent version as of this post)

log file suggest some of .NET dlls are missing. Can you check in dotnet installation dir (probably Program Files/dotnet) if there is PresentationCore.dll inside shared/Microsoft.WindowsDesktop.App//

/needinfo

I'm assuming this is what you are referring to?

Here is the full path: C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\7.0.1\PresentationCore.dll

Can you try setting the environment variable DOTNET_ROLL_FORWARD to LatestPatch and try running PowerToys?
/needinfo

Either this fixed the problem, or I can no longer reproduce the issue. ¯\(ツ)/¯

Either this fixed the problem, or I can no longer reproduce the issue. ¯(ツ)/¯

Thanks for the feedback. Be aware that this is a workaround until the new version of PowerToys is released. This issue should be gone with next version..

@Pstock7 Can you also check if there is a DOTNET_PATH env variable set?

I do not see one

v0.66 version of PowerToys is released. It should work fine without DOTNET_ROLL_FORWARD env variable

Awesome! Thank you for your help and I hope my feedback was helpful to you!


worker: Log streaming query restarts to V2 and no longer as part of t…

…he vtworker output.
This avoids log spam which could occur over hundreds of restarts when a clone runs for hours.
Instead, I'm tracking the restarts through additional stat variables now.
Other changes:

Changed logging level for log messages of non-retryable errors from INFO to ERROR.

LGTM


Request to change Bezier struct

The current structure for Bezier is
pub struct Bezier {
    pub closed: bool,
    pub verticies: Vec<Vector2D>,
    pub in_tangent: Vec<Vector2D>,
    pub out_tangent: Vec<Vector2D>,
}

Its difficult to query and iterate
The structure is better like this
pub struct Bezier {
    pub segments: Vec<[Vector2D; 3]>, // [vertex, in_tangent, out_tangent]
    pub closed: bool,
}

I don't like lottie's format too. But for the models I am trying to align with the original format as much as possible. Maybe a new structure or some method could be added to provide an iterator on the segments.


Update ASAL managed identity API version to 2020-05-01.

The ServiceFabric Managed Identity service no longer supports the API version in use here (2017-09-01). See their supported API versions here.
For our (internal) team, this has caused us to be unable to use the ASAL library with a ServiceFabric cluster. Upgrading the API version in this file and deploying the modified assembly resulted in successful authentication, and all tests appear to be passing.

@pakrym - Would you be so kind as to provide feedback to @niblak and advise if you'd like to consider these changes or we should look to close out this PR?

cc @schaabs
Do we want to take this?

Fixes as part of https://github.com/Azure/azure-sdk-for-net/pull/12160


Bring dependencies, package.json, badge, testing current

Hello,
I've bumped dependencies and all tests are passing here on Node 5.  I've always seen them pass with lower node versions, so I've added all versions to Travis testing.  I think Travis needs to be re-enabled since this repo has changed hands, but now the badge is ready.
Thanks!

@indexzero @jcrugzz This looks good to me, any update on your end?

@terinjokes I can't tell who the new maintainers are since the repo was transferred, but I have been running my nextorigin forknin production for months with no problems whatsoever.
I am happy to help maintain this project if the current maintainers don't have the time right now!!  I have several patches that make smart-private-npm much easier to work with, especially with official npm's recent changes.

o/ @jcrugzz and I are still maintaining this.


Feature/Guardians: Im guardian for And Remove guardian

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
#378
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Moved over a few calls
Added implementation for im guardian for screen
👯♀ Paired with
Solo

sorry for the large pr ;/


Pre-assigned filters

For job and shift views
Originally created by Tom Smyth at 2018-03-20 21:37, migrated from redmine-#8174

Version set to 6.0

By Tom Smyth at 2018-04-29 11:24

Status changed from New to Closed

By Tom Smyth at 2018-03-21 02:57


remove the etcd annotations

For now, the etcd-operator only support watching single namespace. So, the below annotations are inappropriate. Remove it, fixed bug 1659875
  annotations:
    etcd.database.coreos.com/scope: clusterwide

@dmesser Thanks very much!


Add history report for jobs

User should see a report of number of jobs, time taken to complete and results. This could be simply numbers or later charts with exportable standard data.

Moving ideas out of Github.


Missing FirebaseFirestoreSwift Module in Latest SDK Versions

Description
Hi Firebase Team,
I’ve been working on a project that relies heavily on the FirebaseFirestoreSwift module for integrating Firestore with Swift's Codable protocol. This module was available in previous versions of the Firebase iOS SDK and is still mentioned in the official Firebase documentation.
However, after updating to the latest SDK version, I noticed that FirebaseFirestoreSwift seems to be missing. I’ve checked the repository and searched through the documentation but couldn’t find any references indicating whether this module has been moved, renamed, or deprecated.
Could you please clarify:

Has the FirebaseFirestoreSwift module been renamed or merged into another module in the latest SDK versions?
If it has been deprecated or removed, what is the recommended way to handle Codable support for Firestore in Swift in the current SDK?
Are there any alternative modules or methods provided by Firebase to achieve similar functionality?

I’ve tried rolling back to an older version of the SDK, but this has caused dependency resolution issues in Xcode. I’m hoping to find a clear path forward with the latest stable SDK version.
Thank you for your assistance.
Best regards,
Shantalia
Reproducing the issue
Expected Behavior:

The FirebaseFirestoreSwift module should be available for import, allowing the use of Swift's Codable protocol with Firestore.

Actual Behavior:

The FirebaseFirestoreSwift module is not found, resulting in a build error.
Attempts to use older SDK versions lead to package resolution errors in Xcode.

Firebase SDK Version
main /default version | latest
Xcode Version
Xcode Version: 16 beta 4
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication, Firestore
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

The Firestore Swift extensions are now part of the FirebaseFirestore library. FirebaseFirestoreSwift has been discontinued.
See the Release Notes for more details.


Port forwarding wont work

I followed someones tutorial on how to do it with port.io, becuase I dont have admin access to my router, becuase it wont let me sign in. I added the adress trying both port 8080 which is what i set it too, and for 50196 which is the port for portmap.
still wont work and idk how to fix or what to do. Also it used to work with just i think it was my ipv4 and defualt port, but even that doesnt seem to want to work now

as u can see my open vpn is connected to it

This is a bug tracker for software bugs, not support requests. Please check out this guide: https://github.com/quasar/Quasar/wiki/Getting-Started Especially check out the Windows firewall rule.


add new tutorial for initialisation with observed thickness

Here I have added the requested tutorial from https://github.com/OGGM/oggm/issues/1655.
Open for review ;)

@anoukvlug thank you for the review, I added your points to the tutorial.
And yes we must keep in mind that the tutorial only works with a very recent version of OGGM and that we could delete a cell in the notebook once the preprocessed directories are updated (related to https://github.com/OGGM/oggm/issues/1660).

Thanks a lot @pat-schmitt , fantastic addition


Potential for showing Google results in Alfred

Came across SerpApi. By looks of it would allow to pragmatically get the results of Google search result pages without parsing the HTML yourself and keeping that parser up to date. You can rely on their service.
Curious if you would consider adding support for it. Although the Pricing is quite steep.
It has both Python & Go wrappers for easy access.

Lol. Who's going to pay for that?
The answer is "no". I'm not going to integrate an SDK just for a single search engine. If an engine can't be defined using the JSON configuration format, I don't want it, tbh.
Perhaps you could build your own webapp that exposes Google search results via the OpenSearch API?


test commit to check permissions

[ ] main.go structure
[x] 3 product website support:

[x] scrapeme.live,
[x] ediblelandscaping.com,
[x] (your choice)

[ ] unit tests

high level structure:
product struct:

price float64
availability bool

inputStruct fields:

product url
typeof request: price tracking, availability tracking
min threshold price (only for price tracking)

scraping function signature:

func xxxxxx(url )(product struct ,error){}

use case 1:  given the user input, determine if the notification needs to be sent to the user or not.

func shouldNotify(inputStruct))(bool, error)

it is not possible using Atoi( ) because we have "1,899" .we can not convert "," into integer.


Print

There should be a "print" toggle to increase font size and do such things for a printed figure. Or this should be done by default.

Maybe you can take advantage of matplotlib's new feature:
with matplotlib.style.context(['some matplotlib style']):
    # some code
    pass

You can take a look at https://github.com/ctokheim/matplotlibrc for example.


Renewing the link to the official discord of The Rust Programming Language

In the first commit I didn't remove the Track-Rust Practise Questions link and it was with the wrong commit message, sorry about that, and thank you very much for this path btw

no problem, thanks for your contribution


Warehouse receipt page lines tab is not showing properly in Anniversary update

Hi,
See below the warehouse receipt page lines tab is not showing properly or completely as we cannot see a single line also correctly

Can you please check this?
Thanks & Regards
Varun Reddy

This issue is out of scope for this repository. Please contact the regular support channel.

@StanislawStempin  i have rechecked this in march update and this looks fine here see below:

Thanks. In that case closing this issue


Review script for paper "2023ApJ...952L..13G" made with predictor "DataLinkerWithSupport"

Created by Paper Data Linking Bot
Please review the download script and instrument details for the paper.
bibcode: 2023ApJ...952L..13G
predictor: DataLinkerWithSupport
annotated pdf: view here (requires login)
Checklist
Download Script

[x] Correct time ranges specified

[x] Correct VSO instruments specified

[x] Query returns good results or contains warning with reasoning if not

[x] Physical observables omitted or correct

[x] Wavelengths omitted or correct

[x] Cadences omitted or correct

Instrument Details

[x] Consistent with download_script.py

Metadata

[x] Contains the bibcode for the relevant paper
[x] VSO sources consistent with download_script.py

For more details, refer to the Contributing Guide.

The time period is not specified in the article and the script corrected stated that. It did not omit it. I think that's good.


SAK-14068 - Add ability to Hide the top level Resources Folder

Seems like all this needs and it's working for me. Makes me wary when something that seems so simple wasn't fixed for 10 years, though I feel like not giving anyway to override this isn't great for 12 either.


chore(deps): bump https://github.com/jenkins-x/jx-application.git to 0.0.16

Update jenkins-x/jx-application to 0.0.16
Command run was jx step create pr regex --regex version: (.*) --version 0.0.16 --files docker/gcr.io/jenkinsxio-labs-private/jx-application.yml --repo https://github.com/jenkins-x/jxr-versions.git

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign daveconde
You can assign the PR to them by writing /assign @daveconde in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
6de179ae23ad0bfaa7a7fd9f63c5964463f68407
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
6de179ae23ad0bfaa7a7fd9f63c5964463f68407
link
/test vault

gsm
6de179ae23ad0bfaa7a7fd9f63c5964463f68407
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


About verification :

Describe the Feature
Since verification is now a talked about topic of interest for Bluesky , I will suggest something similar to what twitter did Pre-Elon , which is checkmarks for orgs , journalists , celebs , etc , Available in a tab in app settings , the steps are available in Attachment :
Attachments

Describe Alternatives
No response
Additional Context
No response

Such a feature already exists.  Way better (and accessible for everyone) than requiring Bluesky to verify and validate tons of IDs.

I feel marking non-Bluesky domains and changing their color (say, to green) could provide much of the benefit. This post suggested a visual indicator, and color plus a symbol or something could work.
As a bonus, it could subtly incentivize people to buy domains. But the dark pattern here is only really just a happy accident - it's not the real benefit here.
As for unverified domains, those IMHO should also be displayed, and just with a label indicating failed verification. You could display those in amber to highlight the failure so it sticks out to users better. (I've caught people in the wild not catching verification errors that happen because they deleted their verification TXT record.)

I don't think that's going to help.
The minute you do that, people think that that means that they can trust that person.
Just like 20 years ago when HTTPS was still uncommon but prominently featured in a browser, tons of people were like "How can this be a phishing site / scam / etc., it has a nice green lock symbol and it says it's safe and secure?".
If you mark any custom domain that's not bsky.social as verified with a green checkmark, people are going to assume anyone who has any custom domain has been verified to be who they claim, which is not the case because anyone can register any domain they want.

I Do feel like the delusional trauma from people I see doesn’t make sense since verification such as that was Okay “before” Elon caused many to have that trauma from checkmarks , and I do think that its Bluesky responsibility much like twitter before it to verify notable people now that their moderation team has quadrupled .

The thing is, the verification system you're proposing already exists, through handles. You can confirm your identity through a domain name, and then people can independently verify it belongs to you without blindly trusting a third-party. This is beneficial to everyone as this system is guaranteed to be free of bias or any form of rigging; past, present, or future.
There isn't anything better, really: notable people very likely have a website, or at least are affiliated with a large organization that could let them have an ATProto identity on, that's recognizable and people can confirm to identify the person or organization.
You can know for sure, without any doubt nor Bluesky's involvement, that an @*.gov account is a U.S. government account. You can be certain that @github.com belongs to and is under the supervision of GitHub. This scheme is a lot better than traditional verification systems, with additional benefits such as making "username parking/squatting" a non-issue.
For the record, Bluesky's CEO publicly said the goal of the platform is to be "billionaire-proof", such that a hostile takeover by an emerald mine owner cannot disrupt the network in any meaningful capacity. Pushing verification through domain names is perfectly aligned with the goals and decentralizes the verification system.

Personally I find the Mastodon method of verification (links using the rel="me" attribute) easier to figure out than BlueSky's domain-based handles method, although the Mastodon method has the drawback of only being visible on users' profiles... also, I'd note that "notable people very likely have a website" is not the same thing as "notable people have their own custom domain for hosting their website"; none of the links I use for verification on my Mastodon profile are from domains I actually own myself...

I'd note that "notable people very likely have a website" is not the same thing as "notable people have their own custom domain for hosting their website"; none of the links I use for verification on my Mastodon profile are from domains I actually own myself...

That's understandable, however I think it's a good idea regardless for public figures to have a website/portfolio/whatever on a domain they own to establish an online presence. The cost of domain names is very low in most cases too.
There are already instances out there of public figures using an account provided by the official body they are a member of: Rep. AOC in on Bluesky at @ocasio-cortez.house.gov, Senator Ron Wyden is at @wyden.senate.gov, etc. Their status of member of the U.S. lower and upper chamber respectively is proven and easily visible everywhere (including off-platform).
This is an example of how an official government body can benefit from .gov being an official, restricted TLD certifying their status, and how they can let people show they are affiliated with said body through their handle that will also be verifiable off-platform, e.g. on flyers.
The bidirectional link approach used by Mastodon and other platforms is easier to work with for sure, although it is subject to some more risks of compromise (e.g. through HTML injection) than DNS records and/or a document in the .well-known folder are. For the record, I've seen a few people use a github.io handle thanks to GitHub Pages, which may be relevant if you don't necessarily want to own a domain name and you have an established GitHub profile/presence.


Running migrations on sqlite throws an exception

I was getting this error when trying to migrate the database with the sqlite driver.
$ php artisan migrate
Migration table created successfully.

  [Illuminate\Database\QueryException]
  SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL (SQL: alter table "posts" add col
  umn "subtitle" varchar not null)

  [PDOException]
  SQLSTATE[HY000]: General error: 1 Cannot add a NOT NULL column with default value NULL

try adding ->default(''); to all of the columns in the restructure_posts_table migration.
You can't make columns nullable when altering a table in sqlite its a weird bug.


Links are broken in AsciiDoc version 3.1.0

Hello,
With AsciiDoc version 3.1.0, after clicking on a link in an AsciiDoc document, the link does not go to the correct target but lists the files in the folder. AsciiDoc 3.1.0 determines the link to be /#?at=refs/heads/master which does not exist whereas AsciiDoc 3.0.0 determines the link to be /# which exists and the target is displayed.
Can you please resolve the issue so that the links are followed.
Thanks!

This looks like an issue with #19
     /**
      * Handle links and convert relative locations to absolute URLs
      */
     function handleLinks($content, asciiDocRawUrl, commitHash) {
         $('a', $content).each(function () {
             if(!this.getAttribute('href').startsWith('http'))
                 this.href = getBaseUrl(asciiDocRawUrl) + this.getAttribute('href') + '?at=' + commitHash;
         });
     }

I just gave it a try and it worked for me using the following syntax.
==== Include Using Relative Path

include::include/include.adoc[]

==== Include Using Variables

include::{includedir}/include.adoc[]

I noticed that there is an issue with table of contents.
Can you provide an example of the link syntax you use along with the Bitbucket version.

The issue is with the table of contents where by the table of content links are not followed.
The Bitbucket version is 5.5.1.

thanks for the update. Will look into it to create proper links for TOC

A new version 3.1.1 is available on the Atlassian Marketplace

A new version 2.4.1 is available on the Atlassian Marketplace


[WIP] add rake setup

Addresses #180

rake spec, rake spec run all, rake spec setup are working.
What about rubocop? What should be the task for that and should it run within any of the above tasks?

Hmmm you can the rubocop task within rake spec run all. The rubocop output should be present in the test summary.
A separate task for that can be called rake rubocop.

I've made all the changes like you suggested. Just one small deviation. Instead of rake spec run -v 2.3.0, it works with rake spec run ruby-2.3.0.
ubuntu@ip-172-31-60-45:~/daru$ rake spec run -v 2.3
rake aborted!
ArgumentError: Now a valid ruby version. Valid ruby versions are ["ruby-2.0.0-p643", "ruby-2.1.5", "ruby-2.2.1", "ruby-2.3.0"]
/home/ubuntu/daru/Rakefile:21:in `block in <top (required)>'
...
ubuntu@ip-172-31-60-45:~/daru$ rake spec run ruby-2.3.0
$rvm_path/wrappers/ruby-2.3.0/rake spec
bundle exec rspec spec
...

It's fine. You're using the RVM terminology anyway.
Why is the build failing?

@v0dro This is ready to be merged.


Update workflows

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (fdc44bf) to head (b7a5131).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #551   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          139       139
  Lines         4287      4287
  Branches       288       288
=========================================
  Hits          4287      4287

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


Invocation of code.exe does not terminate with output

Windows Build Number
1909 Build 18363.1082
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
4.19.128-microsoft-standard
Distro Version
Ubuntu 20.04
Other Software
Visual Studio Code 1.50
Repro Steps
Moved here from https://github.com/microsoft/vscode-remote-release/issues/3831
Reported on behalf of @piejanssens
I am not able to reproduce on my machine.
In the WSL shell:

WSLENV=ELECTRON_RUN_AS_NODE/w ELECTRON_RUN_AS_NODE=1 "/mnt/c/Users/pietejanssens/AppData/Local/Programs/Microsoft VS Code/Code.exe" "C:/Users/pietejanssens/AppData/Local/Programs/Microsoft VS Code/resources/app/out/cli.js" --locate-extension ms-vscode-remote.remote-wsl >/tmp/remote-wsl-loc.txt does not terminate
WSLENV=ELECTRON_RUN_AS_NODE/w ELECTRON_RUN_AS_NODE=1 "/mnt/c/Users/pietejanssens/AppData/Local/Programs/Microsoft VS Code/Code.exe" "C:/Users/pietejanssens/AppData/Local/Programs/Microsoft VS Code/resources/app/out/cli.js" --locate-extension ms-vscode-remote.remote-wsl prints to the console but does not terminate

Expected Behavior

Command terminates and writes a path to file /tmp/remote-wsl-loc.txt
Command terminates and prints a path to the console

Actual Behavior
Command hang,
CTRL+C on the first one closes without any output.
CTRL+C on the second one keeps printing "write failed 32: Broken pipe"
Diagnostic Logs
No response

Meanwhile, current version:

Kernel 5.4.72-microsoft-standard-WSL2
Distro: Ubuntu 20.04
Host: Windows 10.0.19042.985
VS Code: 1.56.2

From microsoft/vscode-remote-release#3831: I completely uninstalled VS Code, deleted all these folders manually, reinstalled VS Code and allowed installation of "Remote WSL" and still have the same issue.

Thanks for the CLI repro steps. Couldn't reproduce here either, but there's been past evidence something (dunno what) is going on ref #3734.

This started happening to me after I added a remote ssh connection. Ctrl-c allows me to workaround it. It only happens on the first directory I run "code ," - subsequent runs are fine.

This should be fixed in the latest versions of the VS code. If you're still seeing this please open a new issue!


sourcedir = "." causes diagnostics to always appear at top of file

I am messing about with the lsp inside of emacs, diagnostics are stuck at the top of the file.
Test file:
module Main

test : String
test = "foo"

test2 : String
test2 = 5

lsp output:
{
   "jsonrpc":"2.0",
   "method":"textDocument/publishDiagnostics",
   "params":{
      "uri":"file:///home/xavier/projects/idris-book/chapters/chapter02/Average.idr",
      "diagnostics":[
         {
            "range":{
               "start":{
                  "line":0,
                  "character":0
               },
               "end":{
                  "line":0,
                  "character":0
               }
            },
            "severity":1,
            "source":"idris2",
            "message":"In /home/xavier/projects/idris-book/./chapters/chapter02/Average.idr: While processing right hand side of test2. Can't find an implementation for Num String."
         }
      ]
   }
}

Thanks for the report. I suspect this is related to https://github.com/idris-community/idris2-lsp/issues/23. I will investigate further if it is a compiler reporting error or a server issue.

@xavierzwirtz I cannot reproduce the issue. From the error message I see a filename called Average.idr but the snippet module name is Main, so the correct error message should be that file name/module name do not correspond and should be thrown at the top of the file, which it does. If I try with the correct file name it puts the error at the exact location, which is the 5 literal.
Can you provide more information? There is an ipkg file? Was this same file compiled before or renamed? Is this file imported by another module and the error occured while checking the that?

Tried renaming the module to Average, same issue. Yes there is an ipkg file, but it is a couple directories above Average.idr. I don't think I have compiled it or renamed it, just muking about in the editor. Not imported by any other file, just Average.idr.

Scratch that, when I rename the module to Average, I instead get the error:
 Average.idr     1   1 error           In /home/xavier/projects/idris-book/./chapters/chapter02/Average.idr: Module name Average does not match file name "/home/xavier/projects/idris-book/chapters/chapter02/Average.idr" (lsp)

The last error seems correct, because if you have the ipkg file in some parent folder and you leave the default src file folder option, then the compiler expects that the module name to be namespaced by the subdirectories. In your error, assuming the ipkg is in the idris-book folder, and that there is no custom value for the sourcedir option in the ipkg, the correct declaration would be module chapters.chapter02.Average (I'm not 100% positive about lowercase).
However this is really a compiler behaviour, LSP just inherits it. The original error was probably due to the asynchronicity of the protocol or the compiler loading an old/incorrect version of the build artifacts.
Again, I will try to investigate further but I don't think it's an issue easily reproducible.

You were correct about the decleration needing to be module chapters.chapter02.Average, and correct about lower case causing issues. Fixed that, and still getting same behavior. Also tried moving out of a sub folder adjacent to the ipkg, same behavior.

I think I've found the issue and it has to do with non normalised paths. In the error you provided above there is idris-book/./chapters which may cause some issues. I'm working on some improvements to diagnostics, should be fixed by that. I will ping on this issue when it's ready.

Very much appreciated, thank you for the quick attention.

I reviewed the ipkg, it has sourcedir = ".". Changing that to Chapters and amending the module names makes diagnostics report properly.

I plan on fixing this with the change in how errors and warnings will be reported. I am still trying to figure out the best way to do that. The compiler code is quite complex.


Failed to generate SSIP?

SqlException: Failed to generate SSPI context.
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, object providerInfo, bool redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, bool applyTransientFaultHandling)
What does this mean (also i have looked at the project on github cant find where i went wrong... also if you want to look at my code here is the link to my repository.)
Thank you in advance....
P.S I haven't done the create page model yet...
I after it stopped working i focused on finding what was wrong (never did obviously) also i tested it right before the create page model part (when it said too)

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

ID: 70f6104a-a223-4bb3-4101-f553002b9b26
Version Independent ID: 15e79e80-8d46-7cd5-c883-6cc0f5940a1b
Content: Scaffolded Razor Pages in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/page.md
Service: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

P.S I haven't done the create page model yet...
I after it stopped working i focused on finding what was wrong (never did obviously) also i tested it right before the create page model part (when it said too)

Check the connection string and verify you've run migrations.

@Rick-Anderson
Connection string???
(remember im new to coding and 13)]

It's explained in the next tutorial. Take a look at that.

@Rick-Anderson
ok.....
I just gave up trying to find out what was wrong so i just deleted it.
and started over. this time, only typeing it out when i HAD too.....

PLEASE HELP ME
P.S. The first time I didn't know that it stopped working until then end of  'Scaffolded Razor Pages'.... (also i did just then before restarting, continued to 'SQL Server LocalDB' and something i noticed, it didnt show that there even was a LocalDB)

Don't type, copy/paste the code.
What error are you getting now and at what step?

Did you test out
dotnet new razor -au Individual -o RPwithAuth
cd RPwithAuth
dotnet run

@Rick-Anderson
no, i was about to.
But after the new one didn't work, I raged quit...
and just unpluged my computer.............
didn't get on it till a few miniutes ago, and i tested the new one, and it WORKED......
then i tested the orignal one and it also worked!
i dont know what happened (and i really dont care anymore)
But i just want to say thanks for helping me, even though i wasn't very dicripted and didnt (and still dont) typed good.

@ThinkAwsome  glad you got it working. Too bad we don't know what caused the problem or fixed the problem.


Create a music system.

Progress

[ ] Client
[ ] Server

A music system should be created to allow for easy access to features such as a queue. This system should be accessible via the server or client. Back and next features should be available as well.

Finished with commit b9f4c98.


Looking forward to join you!

Hello, I enjoyed coding the solutions to the problems. Thanks,

Thanks @shivgodi7
We'll review and get back to you


Support for multiple Amazon Seller accounts

In order to accept orders in multiple currencies (GBP, EUR, USD in our case) Amazon requires that an account be created with a country in each of the currency areas (UK, DE, US for the above) and each of those accounts then have different login credentials.
Currently there is a few places in solidus_amazon_payments that .first is called on the Gateway class, which prevents multiple Gateways being used (one per currency). Given that I have two queries:

Would you be open to a PR to introduce the ability to support multiple accounts? and if so does anyone have a preference for how this is implemented?

Alternatively, can anyone think of a way to do this without making changes to the gem? I'm aware this may be an issue someone else has already solved.

Thanks!

@hectoregm  can you please  look into this issue and comment?  I think in general we are open to a proposal for how this would work.  I think it should be included with a feature toggle and not interfere with the base operation in any way

@dhonig we were thinking the instances of Spree::Gateway::Amazon.first could be moved into a setting, with the current behaviour being the default but which would allow for it to be overridden in instances like ours where multiple Gateways need to be supported.

@chrisradford  what is the use case, this sounds like a feature for a marketplace? Or some place that has multiple sellers with multiple amazon accounts?

@chrisradford So you are proposing to adding a method like
Spree::Gateway::Amazon.get_gateway with the currency as a parameter, then this method by
default grabs the first gateway like we do right now. Then you can override it and select the proper gateway given the currency provided.

@dhonig the use case is multiple currencies; Amazon have told us to create an account with Amazon UK for GBP payments, Amazon DE for EUR payments, and Amazon US for USD payments.
@hectoregm Yes, though potentially the checkout object rather than the currency since the country might be important as well—I haven't looked at the code for a few days but that's essentially the idea.

@chrisradford
Understood.  This changes my perspective.  Would love to have a PR or a slightly more detailed proposal and then we can work on getting it implemented and merged together.  I still think its important that it be done in a way that doesn't complicate using one currency.

@dhonig @hectoregm @manmartinez here's a PR from @chrisradford and I for this Issue:
https://github.com/boomerdigital/solidus_amazon_payments/pull/17
It should make it possible to use multiple currencies via multiple gateways.  Let us know what you think. Happy to discuss.

This has been solved in #17


Update HamburgerButtonGrid

So that ContentControl Header can be displayed correctly.
If the Background of HamburgerButtonGrid not transparent, the ContentControl Header is covered.

No longer valid


Prep for 3.1.4 release

Description of changes
Adding back the changes reverted in #879.

I think cedar-wasm also needs its version number updated.

Nope, that's coming in 3.2 🙂

(And thanks for the title fix)


SSLHandshakeException is caught when connect socket

Precondition:
1.wireless signal is instability
2.set ConnectionLostTimeout to 15 seconds
3.url: "wss://..."
Reproduce step:
1.onClose is called because pong message has not been received in time:
onClose code: 1006 reason: The connection was closed because the other endpoint did not respond with a pong in time. For more information check: https://github.com/TooTallNate/Java-WebSocket/wiki/Lost-connection-detection remote: false
2.after 5 seconds, create a new socket with connect timeout parameter(5s) and call connect method as following:
public MySocket(URI serverUri) {
super(serverUri, new Draft_6455(), null, 5000);
}
3.after calling socket.connect(), the onOpen is not called, but after 15 minutes, onError is called with following stack:
onError e: javax.net.ssl.SSLHandshakeException: SSL handshake aborted: ssl=0x8f209c80: I/O error during system call, Connection timed out
at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:324)
at com.android.org.conscrypt.OpenSSLSocketImpl.waitForHandshake(OpenSSLSocketImpl.java:629)
at com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:591)
at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:407)
at java.lang.Thread.run(Thread.java:818)
4.Also during the 15 minutes, i try closing the opening socket, but the onClose is not called, nothing happened
after calling socket.close().
Expected behavior
I think the onError should be called after 5 seconds after calling connect.
Debug log:
Environment:

Java version:1.8
Operating System and version:Android 6.0

Duplicates #1194


Update Prometheus to 2023-07-31 @ 76dd9b547

Supersedes https://github.com/grafana/mimir-prometheus/pull/520.
This brings changes up to 76dd9b547 happened on 2023-07-31 which is the newest version before linked list head chunks were merged.
This also doesn't include @bboreham's jsoniter change for labels.Labels that was merged later.
I will cherry-pick https://github.com/prometheus/prometheus/pull/12626 (which is the one I need) in a separate PR.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.6 out of 11 committers have signed the CLA.:white_check_mark: roidelapluie:white_check_mark: krajorama:white_check_mark: beorn7:white_check_mark: gouthamve:white_check_mark: colega:white_check_mark: rfratto:x: shoce:x: gberche-orange:x: shichanglin5:x: fatsheep9146:x: juliusvshoce seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Stepper] Fix support for no connectors

The purpose of this PR is to allow to set a null stepper connector in TS. It works in JS. Perhaps there's another way to acomplish this, please let me know..

[x] I have followed (at least) the PR section of the contributing guide.

I have rebased on HEAD and migrated the test to TypeScript to have types test coverage (we have a functional test case for this one):
https://github.com/mui-org/material-ui/blob/f1c64b50b4f2f2864254cc483e0a75acbbe46c23/packages/material-ui/src/Stepper/Stepper.test.js#L165
@eps1lon Quite interesting to find that one of the test cases was doing nothing (thanks to TypeScript) 😆. Here, the class name doesn't exist:
https://github.com/mui-org/material-ui/blob/f1c64b50b4f2f2864254cc483e0a75acbbe46c23/packages/material-ui/src/Stepper/Stepper.test.js#L250

@varandasi Thanks for the fix

@varandasi Thanks for the fix

Thank you for the great work. Material UI is awesome.


create method to calculate points accordingly

Added functionality to calculate scores.

https://github.com/sopra-fs24-group-12/PeekSeek-server/commit/9da6b21bdfb0db5b843663188893d352e8de432a


Balder/drop the last usage of the dreaded linkedptr

@havardpe The only interesting change is in aggregationresult.h where I use std::shared_ptr instead of LinkedPtr.
Th erest is just cleanup in the files I opened up.

I will just pull it in to get a valgrind run with it.

👍


This issue is simulating publig Github issue, originally raported in private Jira Cloud project

added issue commit

Adding comment to public Github issue

just commeting

commenting commenting

commenting commenting

commenting commenting

more and more comments

muita kommentteja vaan

muita kommentteja vaan

final comment for this issue


Create documentation for installation

How to install using the JAR
How to install using the Docker container
Requirements (external DB...)
How to start/stop..
Minimal configuration
Required Java and OS and more

There's some doc in development section already. Maybe we can just add onto it

I feel like we need a separate page .. or even more. Over time we will have instructions jar, tarball, docker, helm, and the related infrastructure.. and ultimately the person installing and running Trino Gateway might not be a developer...

Just curious who else could be installing and running Trino Gateway if they are not developer? I agree to have as many docs as possible, but at the same time it feels like a duplicate of development doc, or somewhat similar.

Well.. whoever is on the operations team for multiple Trino clusters and the related infrastructure .. they could be a sysadmin that has no Java knowledge.. or a k8s expert or whatever. yes.. in most cases they will have some development background .. but essentially the needs are different .. e.g. they wont have to worry about installing Maven .. and when using helm or docker also not about installing Java..

I would love to have Installation guide and docker support for Trino gateway.

Current docs are suitable to get started. Further work are incremental improvements.
https://github.com/trinodb/trino-gateway/blob/main/docs/installation.md


can't load .sql files from unexploded jars in classPathFiles

i'm using the embedded-mysql
there is a function
classPathFile
basically it does new File(resource.toURI)
this doesn't work for me when running maven, because everything is in a jar, so there is no file in the file that it can access
my jar depends on test-utils jar in test scope, and it has the mysql init code in main
this can be solved using java 8 filesystem

do you have your files packed in the classes resources or test resources ?
basically we load files from the classpath so if the are on other jars it's still possible to read them.

you load them by doing something equivalent to new File(resource.URI)
if the uri is internal to a jar, this doesn't work.
you can work around this using new java8 filesystem abstraction.
my files are packed in main/resources of a jar that i depend on in test scope, so it comes as an unexploded jar.

@grunzwei - ok, so I might just have to loadResourceAsStream() instead. Will have to add test to verify it. What I don't want to do yet is to make this library bound to java 8 - there is no real reason for that, so why not leave door open for poor java 7 users:)

@viliusl had we used guava we wouldn't have this issue, no ? ;)

Haven't check. Problem with guava I had was that I could not use most
recent version due to conflicts with framework, but maybe even not most
recent would cut it.
I will play with it once I will have time. Hopefully next week.
On Wed, Jan 6, 2016 at 10:46 AM, Noam Almog<EMAIL_ADDRESS>wrote:

@viliusl https://github.com/viliusl had we used guava we wouldn't have
this issue, no ? ;)
—
Reply to this email directly or view it on GitHub
https://github.com/wix/wix-embedded-mysql/issues/36#issuecomment-169268513
.

--
Vilius Lukošius
Software Engineer
Cell: +37061111226
33 Didžioji St./ 2 Rūdninkų St., Vilnius, Lithuania

@viliusl any progress on that?
I'm trying to migrate projects to wix-embedded-mysql and looks like it is an issue.

@hugebdu https://github.com/wix/wix-embedded-mysql/commit/48a0ebc93799eaf48af81bc808f54ba67ea5a044

@hugebdu and the little script:
  def loadResources(path: String): Seq[String] = {
    if (path.isEmpty) {
      Nil
    } else {
      val resources = new PathMatchingResourcePatternResolver().getResources(path)
      resources.sortBy(_.getFilename).map(r => IOUtils.toString(r.getInputStream, java.nio.charset.Charset.forName("UTF-8")))
    }
  }

Use like reloadSchema(aSchemaConfig... withCommand(loadResources("classpath:*.sql")))

@dkomanov your commit is not yet merged, right?

My PR merged: https://github.com/wix/wix-embedded-mysql/pull/43

@hugebdu - I did an impl for this (https://github.com/wix/wix-embedded-mysql/commits/scripts-in-jar), but still thinking on naming and apis - which should be deprecated/supported. So @dkomanov solution will work for you right now.


[REQ] Slider Component

a slider is quite usable as a form component since it's much easier for the user to just drag and quickly change values instead of typing them.
an example: http://dev.sencha.com/deploy/ext-3.3.1/examples/slider/slider-field.html
if the drag handle is rendered a little bigger, than it's very helpful on touch devices too.
jQuery UI also seems to have a nice one: http://jqueryui.com/slider/ but is really a very heavy component.
Even if it can do ranges: http://jqueryui.com/slider/#range  it's missing a "drag" on the range: this would allow to use it for time interval selections (one of the most used cases for range selections) :(
regards.

Slider will be really nice it is a shame that you decided not to implement it. Even in HTML5 there is a build-in one. Any support for that?

+1

The slider is really an important component, as it's more user friendly for many combinations than plain numerical fields that need complicated validation.

+1

Since no further response, closing the issue.

Hi, I am also interested in having sliders! I am building a scientific application for which it is very useful. Any chance we can get that implemented? I am willing to help implementing it if you give me directions. Thanks


Unit test stubs need to be kept in sync with their respective real implementations

The "unit-test" code implements stub functions for all function calls which are //not// under test.  In addition to stubs for the 6 core CFE functions, there are two other stub files:

ut_bsp_stubs.c
ut_osapi_stubs.c

The difficulty here is that both the API/prototype of all the functions as well as the real implementation of those functions come from an external source, specifically the PSP library and the OSAL library.  If either the OSAL or PSP changes, the corresponding change must be made to the CFE stub files to keep them in sync.  Futhermore, if another project tries to use the updated stub files with an older version of OSAL, the build will now break due to the mismatched definitions.
It would be nice to simply make a rule that a defined API is never going to change, but that is not practical.
Solution 1
Utilize a preprocessor macro to "tune" the function definitions in the stub files to match what the OSAL/PSP should be for that particular version
Advantages: Can be implemented right away without any synchronized change to OSAL/PSP libs.
Disadvantages: Does not scale.  Code can get pretty messy with lots of #ifdef's if it changes more than once.  Still requires CFE to "know" the OSAL/PSP prototypes so breaks the independence of the two libraries.
Solution 2
Move the stub implementation to the same component that provides the real implementation.  For this, the ut_bsp_stubs.c file would be relocated to the PSP library and the ut_osapi_stubs.c file would be relocated to the OSAL library.
The PSP and OSAL builds would provide a separate UT stub product (a library) that the CFE unit test could link with.
Advantages: Arguably a more logical place for the stub code. Reduces need for synchronized changes in the future, better forward/backward compatibility between versions.  Also, other (non-CFE) users of OSAL library could also use stub functions.
Disadvantages: Requires a synchronized change to get started (solution 1 could help here).  Also would only work using CMake makefiles, although the GNU makefiles could probably be updated accordingly as well.

Trac comment by jphickey on 2015-01-26 16:00:02:
Branch "trac-32-update_osapi_stubs" pushed as interim fix -- commit [changeset:f1488abe]
This updates the prototypes using the OSAL_API_VERSION macro as described by "Solution 1" above.
This is done as an interim fix, otherwise the code would not build after merging the OSAL ticket #44.  With this change the code will build as expected.
The preferred approach would be "Solution 2" above, as this will keep the code much cleaner.

Imported from trac issue 32.  Created by jphickey on 2015-01-26T10:47:44, last modified: 2019-03-05T14:57:55

Trac comment by glimes on 2015-02-10 12:41:59:
Solution 3  would be to have the test call the live OSAL or PSP code. Do this enough and you can discard the stubs and eliminate all that duplicate maintenance. This may not always be possible, but may be easy to do in a surprisingly large number of tests, and might actually improve them.
But that's probably something to back-pocket for down the road.

Trac comment by jphickey on 2015-04-06 11:30:08:
This is ready for review/merge
There are now two fix branches pushed for this issue:

[changeset:f1488ab] represents "Solution 1".  It can be merged if deemed useful... does not hurt anything, and it preserves the old makefile build.
[changeset:b8581e6] represents "Solution 2".  This does some refactoring of the code in ut_osapi_stubs.c to allow for a stub implementation of the OSAPI calls in OSAL.  The make script is changed so as to prefer the OSAL implementation if available, so this should work with or without the corresponding OSAL change.

Trac comment by jphickey on 2015-02-10 12:54:05:
Yes I agree it is generally better to use the real thing, but I can see quite a few instances where this might not be feasible.  The goal of unit tests is to exercise all code paths.
Some "real" PSP functions do not fail (they never return anything other than CFE_PSP_SUCCESS in the active target's implementation) however CFE would rightfully check for an error response anyway since it supports many different PSPs and they aren't ALL implemented this way.  Even for functions that do return error codes it might not be possible to get the specific combination of failures required to exercise a specific path through a test target function.
So in order to get code coverage in the unit tests, I see the stub functions as a necessary evil.  But I also think they can be done much cleaner and made more manageable.
Keep in mind that the purpose of the black box (Lua) test scripts is exactly this purpose, to exercise the code with the //live// PSP on a //live// target to see what happens in the real world, or at least closer to the real world than a unit test is.

Trac comment by sstrege on 2015-04-06 12:49:01:
How was the number "40192" chosen for the OSAL API version?
Wouldn't the OSAL API changes require changes to all instances where these functions are called in the cFE?

Trac comment by jphickey on 2015-04-06 13:24:01:
Regarding the OSAPI version number "40192" -- in short, it is arbitrary.  It is actually dependent on the corresponding OSAL fix, and really a placeholder for the correct number which will be determined based on the OSAL merges.
Typically in many projects the "next" version that is not yet released will use a very high value for the "revision" field.  In this case I am simply referring to the version of OSAL that makes those corresponding prototype changes as "4.1.92" (i.e. some precursor to 4.2.0).
Side note -- the ugliness of the version-check macros in [changeset:f1488ab] IMO is one of the main reasons this stub code needs to be moved into OSAL - it avoids this problem in a much cleaner way.
Also, this does //not// impact anywhere that these functions are called.  The prototype change is benign for users and the difference is transparent.  It is only places where the function is implemented that it becomes a problem.  In this case it highlights the more general problem that cFE is implementing functions for which it does not define the API.

Trac comment by glimes on 2015-04-07 13:11:32:
Tested changesets [changeset:f1488abe] [changeset:b8581e69] as part of the ic-2015-03-10 merge.

Trac comment by glimes on 2015-04-07 14:21:49:
Will retain the [changeset:f1488abe] changeset to retain compatibility
with the Makefile style builds, and the the [changeset:b8581e6] changeset
to provide CMake support. [edit: fixed error in 2nd changeset number]

Trac comment by glimes on 2015-04-13 15:06:50:
Part of integration candidate 2015-03-10,
committed to cFS CFE Development branch on 2015-04-10
as part of merge [changeset:7d6f6d0].

Trac comment by jhageman on 2019-03-05 14:57:55:
Milestone renamed

Trac comment by glimes on 2016-02-16 13:16:45:
Susie confirmed these tickets have been approved for CFE 6.5


'sample info ballon string' on 'Create live event' screen

Hi Team,
I wonder if it's appropriate to report this here, or please feel free to forward this to whom it may concern
On "Create live event" screen on the portal, I see them like this, 'sample info ballon string' for both of 'Output aspect ratio' and 'Output key frame interval'. I believe these need to be changed with more informative ones

Thanks

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

ID: d1a69fdc-c1da-4998-b515-4e0a10a27f78
Version Independent ID: d1a69fdc-c1da-4998-b515-4e0a10a27f78
Content: Create a live event
Content Source: media-services/latest/live-event-create-how-to.md
Service: media-services
GitHub Login: @IngridAtMicrosoft
Microsoft Alias: inhenkel

@euchungmsft Thanks for letting us know.  I have forwarded to the team that manages the portal interface.

#please-close


OPEN http://localhost:3000 locally during the generate process

Before with the latest versions we needed to open locally the content-api OPEN http://localhost:3000 for the generate process, is it normal that now there isn't it at all during the generate process ?

@medfreeman has been working on getting rid of nuxtent generte so that we don't have to support our own binaries and the codebase could be simpler.
Thank you for reporting this issue (and #92). They are in fact due to that change and we will work to get it resolved by next release. Thank you again for your patience and help

Ok good news so !
When the module will be completely operating it will be very interesting ;)

Almost there :)

Thanks ! Is this an actual error, or is it just missing the OPEN http://localhost:3000 log message ?
I thought of it while doing the fixes yesterday, but had not so much time in front of me.

@medfreeman I think because of this, all pages aren't generated, only root pages are generated, but no error messages.

@stnetwork that's because in 'generate' mode, the server is generated directly through express in nuxtent code, instead of nuxt connect instance, and i don't display a message as nuxt does.
I'll add the same 'OPEN' log message for consistency.
#92 is another problem that i tracked down a moment ago. I'll release the fix when back on computer in an hour or two.

I don't think the message is necessary. It caused confusion before (opening localhost versus deployment url) and Nuxtent abstracts that away so user doesn't have to be aware that server is running to generate all content files.

@medfreeman  Ok apparently it's right I missed something in my nuxtent.config, it generates all pages !
I don't know what do you use for an environment test static but, maybe you should use surge for that , it's free, easy and fast to deploy a static site.
you just need to do :
[root@stnetwork]$  cd dist/
[root@stnetwork dist]$  surge
For the moment I have this result :
stnetwork.surge.sh

@STnetwork the tests only cover the local part of generate part by launching a local express instance at the moment, and verifying the returned pages content, which is sufficient for this kind of testing.
And a distant test can also be mocked, which is probably better, covering the fact that there's a user baseUrl option specified, then mocking the distant server to avoid complicating the test environment.

@alidcastano so you'd go for removing the OPEN message in every case ?
I'll also have to look if it possible or not.

Closing due to inaction, please feel free to open up a new issue if the OPEN message still bothers you. And PRs are also always welcome!


fix: pool issues

Description
Unfortunately this PR has grown too big, and I'm not happy about it.
Several things are made here:

Disabled flaky tests. See https://github.com/ansys/pymapdl/issues/2435#issuecomment-2225325028
Added ready and wait_for_ready method to MapdlPool.
Fix some tests by:

Making sure the pool is ready before testing using pool fixture.
Making sure each instance is ready before going ahead (see initialized function)
Limitate the valid ports after each test (See VALID_PORT variable).
 So far, do nothing. See run_before_and_after_tests_3.
Fix convert pipe on Windows powershell.
Fix behaviour of is_valid_process.

Added one test

Minors

Fix using the wrong version when using tag latest-**
Moved one test from test_mapdl to test_console.
A bit of refactor.

Issue linked
Fix pool issues detected in latest release attemp.
Checklist

[ ] I have visited and read Develop PyMAPDL.
[ ] I have tested my changes locally
[ ] I have added necessary documentation or updated existing documentation.
[ ] I have followed the PyMAPDL coding style guidelines.
[ ] I have added appropriate unit tests that also ensure the minimal coverage criteria.
[ ] I have reviewed my changes before submitting this pull request.
[x] I have linked the issue or issues that are solved to the PR if any.
[x] I have assigned this PR to myself.
[x] I have marked this PR as draft if it is not ready to be reviewed yet.
[ ] I have made sure that the title of my PR follows Commit naming conventions (e.g. feat: adding new MAPDL command)

Pinging @koubaa and @clatapie for review.


Indic-to-Latin Transliteration

Hello! Thanks for your great efforts!
Is there a way to transliterate from an Indian language to Latin characters?

Just noticed it is already answered at #6