[Snyk] Fix for 1 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

frontend/package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

823/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 8.6
Server-side Request Forgery (SSRF) SNYK-JS-IP-6240864
Yes
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: @angular/cli
    The new version differs by 250 commits.

f9527ce release: cut the v17.0.0 release
180dfa3 build: update Angular packages to version 17 stable
8bae6ad release: cut the v17.0.0-rc.5 release
8a9def5 test: add timeout to vite re-use cache
9d4d11c fix(@ angular-devkit/build-angular): allow SSR compilation to work with TS allowJs option
ec5e302 refactor(@ schematics/angular): add fallback fonts
3c6d2d8 refactor(@ schematics/angular): remove unused CSS
abb1c6f refactor(@ schematics/angular): use control flow to reduce code
81e4917 fix(@ angular/pwa): replace Angular logos
ecdcff2 fix(@ schematics/angular): add missing icons in ng-new template
569b714 build: lock file maintenance
303c98c fix(@ angular-devkit/build-angular): normalize exclude path
455aed8 Revert "test: temporary disable Jest E2E tests"
278bfa0 test(@ angular-devkit/build-angular): add test to validate vite cache re-usage
a8f041f release: cut the v17.0.0-rc.4 release
ae45c4a feat(@ schematics/angular): update `ng new` generated application
e10f49e fix(@ angular-devkit/build-angular): convert AOT compiler exceptions into diagnostics
1b38430 fix(@ angular-devkit/build-angular): disable parallel TS/NG compilation inside WebContainers
f87f22d fix(@ angular-devkit/build-angular): keep dependencies pre-bundling validate between builds
d46fb12 fix(@ angular-devkit/build-angular): disable dependency optimization for SSR
4733cd3 refactor(@ angular-devkit/build-angular): clean externalMetadata arrays on every rebuild
a02db0a refactor(@ angular-devkit/build-angular): allow JS transformer result reuse for application dev-server builder
323b005 build: update angular
59c22aa perf(@ angular-devkit/build-angular): start SSR dependencies optimization before the first request

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

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

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Server-side Request Forgery (SSRF)

Checkmarx One – Scan Summary & Details – cbab1516-61bb-43cf-9a28-a91aebf90d08
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-26136
Npm-tough-cookie-2.5.0
Vulnerable Package

CVE-2023-37466
Npm-vm2-3.9.11
Vulnerable Package

CVE-2023-37903
Npm-vm2-3.9.11
Vulnerable Package

CVE-2023-46233
Npm-crypto-js-3.3.0
Vulnerable Package

Cxab55612e-3a56
Npm-braces-3.0.2
Vulnerable Package

Cxab55612e-3a56
Npm-braces-2.3.2
Vulnerable Package

Cxca84a1c2-1f12
Npm-micromatch-4.0.5
Vulnerable Package

Cxca84a1c2-1f12
Npm-micromatch-3.1.10
Vulnerable Package

Passwords And Secrets - Generic Password
/users.yml: 195
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/users.yml: 132
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/users.yml: 186
Query to find passwords and secrets in infrastructure code.

CVE-2023-44270
Npm-postcss-7.0.39
Vulnerable Package

Unpinned Actions Full Length Commit SHA
/zap_scan.yml: 17
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/lint-fixer.yml: 24
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/rebase.yml: 17
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/codeql-analysis.yml: 23
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/release.yml: 50
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/update-news-www.yml: 20
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/update-challenges-www.yml: 25
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/release.yml: 72
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/ci.yml: 338
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/codeql-analysis.yml: 30
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/codeql-analysis.yml: 28
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Unpinned Actions Full Length Commit SHA
/release.yml: 109
Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Use_of_Broken_or_Risky_Cryptographic_Algorithm
/Gruntfile.js: 75
Attack Vector

Use_of_Broken_or_Risky_Cryptographic_Algorithm
/lib/insecurity.js: 132
Attack Vector

Use_of_Broken_or_Risky_Cryptographic_Algorithm
/lib/insecurity.js: 22
Attack Vector

Fixed Issues

Severity
Issue
Source File / Package

Cxc7705965-e0f0
<EMAIL_ADDRESS>

SQL_Injection
/routes/dataExport.ts: 33

SQL_Injection
/data/static/codefixes/dbSchemaChallenge_2_correct.ts: 3

SQL_Injection
/data/static/codefixes/unionSqlInjectionChallenge_2_correct.ts: 3

SQL_Injection
/routes/dataExport.ts: 17

Second_Order_SQL_Injection
/data/datacreator.ts: 217

Second_Order_SQL_Injection
/data/datacreator.ts: 124

CVE-2023-26115
Npm-word-wrap-1.2.3

Cx65603961-769c
Npm-debug-2.6.9

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 106

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 100

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 539

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 532

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 525

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 518

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 511

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 504

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 497

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 490

Missing_Encryption_of_Sensitive_Data
/data/datacreator.ts: 483

CVE-2023-2251
Npm-yaml-1.10.2

Open_Redirect
/routes/keyServer.ts: 11

Open_Redirect
/routes/keyServer.ts: 10

Open_Redirect
/routes/fileServer.ts: 15

Open_Redirect
/routes/fileServer.ts: 14

Open_Redirect
/routes/quarantineServer.ts: 10

Open_Redirect
/routes/quarantineServer.ts: 11

Open_Redirect
/routes/logfileServer.ts: 11

Open_Redirect
/routes/logfileServer.ts: 10


Run node command when yaml file change

I my node project has a several yml files to get data. I need to execute js file when YML file change by the developer.
In my packege.json
"scripts": {     "start": "onchange '*.yml' '/cypress/testdata/convertor.js' -- node convertor.js"   },
seems like it's not working. Please help

@lasithdilshan20 Can you share a way to replicate what you see. Based on this I wouldn't be able to help you.


Flow not catching my null check

The code below gives a compile error on the last line, complaining that s.jobId might be null. However, that is an impossible state. Since I checked for that possibility in the validate method.
I can eliminate the flow error by adding a more "obvious" null check. But that adds unnecessary noise to the code.
type State = {
    jobId: ?string
}

validate(): string {
    if (!this.state.jobId) return "Job is a required field";
    return "";
}

save = ()=> {
    const errorMessage = this.validate();
    if (errorMessage) {
        toastr.error(errorMessage);
        return;
    }
    const qs: string = "jobId=" + this.state.jobId;  //compile error
}

Flow can't know that validate and this.state.joobId are related. You could avoid unnecessary noise using a more functional style
// mylibrary.js
type Either<L, R> = { type: 'Left', left: L } | { type: 'Right', right: R };

function fold<L, R, B>(left: (left: L) => B, right: (right: R) => B, e: Either<L, R>): B {
  return e.type === 'Left' ? left(e.left) : right(e.right)
}

// app.js
validate(): Either<string, string> {
  return this.state.jobId ?
    { type: 'Right', right: this.state.jobId } :
    { type: 'Left', left: 'Job is a required field' }
}

save() => {
  fold(
    errorMessage => toastr.error(errorMessage),
    jobId => {
      const qs: string = "jobId=" + jobId
    },
    this.validate()
  )
}

You need to use %checks to explicitly mark some function as predicate. Otherwise Flow won't look into the body of other functions for refinements.


Add BlockNumber type

Changes:
Implement the BlockNumber type to handle the block_numberfield in the feeder models. A block_number can be an integer equal to or greater than 0 or the string "pending"
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):

Testing
Requires testing

[x] Yes
[ ] No

In case you checked yes, did you write tests??

[x] Yes
[ ] No

Could you please use this type in the places is used the int implementation of BlockNumber?

Yes, ok

@stdevMac The StarkNetBlock has other issues with JSON decoding, these are the issues when I try to decode a block:

[ ] StarknetBlock.Transactions must be an array of TxnSpecificInfo
[ ] TxnSpecificInfo.Type must be of type string
[ ] StarkNetBlock.TransactionReceipts must be an array of TransactionExecution
[ ] Event.Keys must be of type []string
[ ] Event.Data must be of type []strign
[ ] ExecutionResources.NMemoryHoles must be of type int64


Long post titles get cut-off

Where is the issue?
When the user clicks on the story and the story opens, the title is cut-off.
Here is a a screenshot:

Possible solutions:

We can either remove the line-clamp-4 class to remove the limit, as ideally, when the user opens a story, the entire title should be displayed, or the user misses the context.
A better solution would be to limit the user to create post titles up to a specific character limit.

I am open to discussion regarding any better solution to this.

Let's go with option 2, limiting the character count.
Would you like to pick this for dev ?

Let's go with option 2, limiting the character count.
Would you like to pick this for dev ?

Yes, sure!

Assigned it to you, @debopriyobasu
Please go through the contributing.md once before starting dev.


tests (ticdc): make bdr_mode integration test more stable

What problem does this PR solve?

Issue Number: close #10619
What is changed and how it works?
This issue occurs because the "add index" operation may take some time to complete downstream. If we add and drop the same index sequentially, the "drop index" operation may fail because the index doesn't exist yet, as the "add index" operation has not finished.
To ensure the success of the "add index" operation, a SLEEP(30) command is added before the "drop index" operation.
Check List
Tests

Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/check-issue-triage-complete


Transfer into year sub folder

Dependency:

https://github.com/irods/irods_capability_automated_ingest/issues/151

I do currently solve this in bash before calling the actual ingest like so (i is the path to the flowcell dir):
        DIR=$(basename $i)
        YEAR=20${DIR::2}  # first two chars
        imkdir $TARGET
        imkdir $TARGET/$YEAR
        imkdir $TARGET/$YEAR/$DIR

and then point the ingest to the created collection.
Is this ok?

you can save two round trips with imkdir -p $TARGET/$YEAR/$DIR


[Key Vault] 'TypeError: string indices must be integers' Raised During Retrieval

Package Names:  azure-keyvault-keys (v4.4.0) & azure-keyvault-secrets (v4.3.0)
Operating System: Cloud AzureML Service
Python Versions: 3.6.9 & 3.8.1

When attempting to retrieve KeyVault keys or secrets using either the SecretClient() or KeyClient() method in an AzureML Notebook, the following error trace is returned:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-51-f5144f2ccb52> in <module>
     63
     64 client = KeyClient(vault_url=keyVaultName, credential=token)
---> 65 retrieved_key = client.get_key('KEY-NAME')

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azure/core/tracing/decorator.py in wrapper_use_tracer(*args, **kwargs)
     81             span_impl_type = settings.tracing_implementation()
     82             if span_impl_type is None:
---> 83                 return func(*args, **kwargs)
     84
     85             # Merge span is parameter is set, but only if no explicit parent are passed

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azure/keyvault/keys/_client.py in get_key(self, name, version, **kwargs)
    276                 :dedent: 8
    277         """
--> 278         bundle = self._client.get_key(self.vault_url, name, key_version=version or "", error_map=_error_map, **kwargs)
    279         return KeyVaultKey._from_key_bundle(bundle)
    280

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azure/keyvault/keys/_generated/_operations_mixin.py in get_key(self, vault_base_url, key_name, key_version, **kwargs)
   1337         mixin_instance._serialize.client_side_validation = False
   1338         mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
-> 1339         return mixin_instance.get_key(vault_base_url, key_name, key_version, **kwargs)
   1340
   1341     def get_key_versions(

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azure/keyvault/keys/_generated/v7_2/operations/_key_vault_client_operations.py in get_key(self, vault_base_url, key_name, key_version, **kwargs)
    362
    363         if response.status_code not in [200]:
--> 364             map_error(status_code=response.status_code, response=response, error_map=error_map)
    365             error = self._deserialize.failsafe_deserialize(_models.KeyVaultError, response)
    366             raise HttpResponseError(response=response, model=error)

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azure/core/exceptions.py in map_error(status_code, response, error_map)
     99     if not error_type:
    100         return
--> 101     error = error_type(response=response)
    102     raise error
    103

/anaconda/envs/azureml_py36/lib/python3.6/site-packages/azure/keyvault/keys/_shared/exceptions.py in _get_exception_for_key_vault_error(cls, response)
     22     try:
     23         body = ContentDecodePolicy.deserialize_from_http_generics(response)
---> 24         message = "({}) {}".format(body["error"]["code"], body["error"]["message"])  # type: Optional[str]
     25     except (DecodeError, KeyError):
     26         # Key Vault error response bodies should have the expected shape and be deserializable.

TypeError: string indices must be integers

This type of error is usually raised whenever a list iterator is ran against a dictionary. Do these packages require Python>3.8.1?

Hey @mccoyp, I appreciate your prompt response.

First, are you seeing similar errors with any other SDK packages?

We did not encounter any errors when using the asynchronous azure.keyvault.secrets.aio package, which has an identical code syntax to that of azure-keyvault-secrets. However, the secrets in question are database credentials, and the DB connector was not able to interpret the coroutine objects returned by azure.keyvault.secrets.aio. Asynchronous processes are also outside the scope of our project.

Second, are you able to make any successful calls with either client (e.g. setting a secret or listing keys)?

I am not. At this time the Key Vault does not contain any keys, only secrets. However, the same TypeError: string indices must be integers message is being returned for both the key and secret clients. If the resource does not exist, shouldn't a ResourceNotFoundError or  HttpResponseError be raised instead?

Lastly, would it be possible to capture the contents of the erroring response?

The error trace is provided in my original post for this issue.

Update on this: I created an AzureML Notebook and tried to reproduce the issue, but I was able to successfully get a key and secret. Would it be possible to share a snippet of code from where this error is happening?

Unfortunately the original code was wiped out while resolving a merge conflict and is no longer available. However, after escalating this issue I was granted access to the Key Vault and noticed the secrets I was attempting to retrieve were expired. I'll recreate the secrets and see if I'm still getting the same error.
I will direct any further questions about the Key Vault service to Security Support. However, seeing as this now may be an issue regarding error handling (please see my bolded comments in this post) I would like to keep this open for now.

You're right that this kind of error response is surprising -- usually an HttpResponseError is raised for general errors relating to service issues, and I would have expected to see a response like that in the case of fetching an expired secret. I don't think I've tried getting an expired secret before, though, so that could be the source of the issue (I'll make a note to try this out!). I'm curious to see if renewing the secrets will resolve the issue, but I agree that leaving this open as a tracker for the error response is a good idea.

I was just notified by MS Security that my above inquiry is expected behavior. This issue can now be closed.


add Build::apple_deployment_target function

flag_if_supported doesn't work for this because try_get_compiler adds the Apple deployment target argument before flags_supported is processed, so users can only append a second -mmacosx-version-min flag via flag_if_supported. To work around this, add a function specifically for this purpose.

This seems like related to #902

cc @Be-ing if you don't mind it, I can update the PR for you.

I did some more testing, and the existing flag_if_supported API does work. I am not sure exactly how the CLI arguments are handled by clang. When -mmacosx-version-min is passed twice (first time automatically by cc, second time by user-specified flag_if_supported), it seems to either prefer the second argument or the higher specified version. It might still be a good idea to add this API though because that behavior of clang is not documented and I don't know if it can be relied on long term. Thoughts?

IMO it's better to add this API, not just due to the order of cmdline arg, but cc-rs seems to have different behavior based on apple deployment target version and build target.

cc-rs seems to have different behavior based on apple deployment target version and build target

Yes, but that can be addressed using the existing flag_if_supported API, so should we add a new API?

If that can be reliably solved by flag_if_supported() on all compilers, then it is indeed unnecessary.
But I'm not sure if it would work on gcc or msvc.

@Be-ing On the contrary I think this should still be added. MACOSX_DEPLOYMENT_TARGET only works if you either set it outside of the process in a Makefile, cargo env config, etc or use std::env::set_var at runtime inside build.rs.
That last option is the only programmatic way to do it and manipulating the process' environment variables is an uh, dicey area. Having a proper library API to control this for each target would be nice imo.

Now that the old behavior of defaulting to the SDK's default deployment target has been restored, what is the need for this API? The default is a recent deployment target, so old code builds fine. A crate specifying a lower minimum than the default wouldn't really change anything.

A crate specifying a lower minimum than the default wouldn't really change anything.

What do you mean?

If a crate specifies a lower deployment target than the default, it's effectively superfluous because it would have built anyway. Only if every crate in the dependency graph that uses cc specifies the same lower deployment target will the resulting binary actually be usable on the lower deployment target. That's best achieved via the environment variable because that effects every crate that uses cc.

Seems like a reasonable take, the well-stated counter-argument is appreciated :)


range(n) allocates reals instead of integers

Why do I have to cast r?
print(rs.find(1)) will return -1 without it.
func _ready():
	var rs = []

	for r in range(2):
		rs.append(int(r))
		#rs.append(r)

	print(rs.find(1))

Ubuntu
Master branch

I don't know if that's truly a bug, as range does support floats with e.g. range(0, 2, 0.1), but indeed when using range(n) one would expect integers I guess.
func _ready():
	for i in range(2):
		print(typeof(i) == TYPE_INT)
		print(typeof(i) == TYPE_REAL)

outputs
False
True
False
True

After discussing with @bojidar-bg and @StraToN, actually range is not supposed to support floats, so range(0, 2, 0.2) would not work as one would expect (0.2 would be cast to int). And that's good this way.
But then I don't know why the returned value is an array of floats. The implementation uses ints: https://github.com/godotengine/godot/blob/master/modules/gdscript/gd_functions.cpp#L710

it's not returning an array of floats, it' s using the values inside a
Vector3 to iterate :P It's kind of a hack.. maybe it should simply convert
the iterator to integer upon return.
On Thu, Apr 6, 2017 at 10:49 AM, Rémi Verschelde<EMAIL_ADDRESS>wrote:

After discussing with @bojidar-bg https://github.com/bojidar-bg and
@StraToN https://github.com/StraToN, actually range is not supposed to
support floats, so range(0, 2, 0.2) would not work as one would expect (
0.2 would be cast to int). And that's good this way.
But then I don't know why the returned value is an array of floats. The
implementation uses ints: https://github.com/
godotengine/godot/blob/master/modules/gdscript/gd_functions.cpp#L710
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/8278#issuecomment-292180040,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2_70MQxKkPfPVRl2P7Av-mg_Yjiaks5rtO1agaJpZM4M06ls
.


Fix docs

Also i can see some problem with token_from_browser. When i set cookies, which i take from console, it`s work, but with autocookie not. Can you know, where can be a problems? Thanks for answer !

Did you restart the kernel to ensure that the variables are properly assigned? After logging out, please close all browsers, reopen them, log in again, and try it with a clean browser. I had a similar issue, but it started working after I restarted the kernel and properly sorted the cookies.


gen 5 default calibration incorrect

it is set to 95, but the default should be -95. Simple change.

Fixed by #66. Thanks @AyanamiRei1


This PR resolves the Issue #176

Summary of changes

Adds my recent presentation in ANS 2020 Annual Meeting to the ARFC website.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Associated Issues and PRs

Issue: #176

Associated Developers

Dev: @

Awesome!


Grid values

There are various little bugs in grid values (keywords, numbers, etc.). The syntax sections of these can be used to create tests:
https://developer.mozilla.org/en-US/docs/Web/CSS/grid
https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns
Let me know if you want me to point out the specifics.

Thanks! The MDN docs are super valuable, I think I'll manage with those links.

@sandrojohanides I pushed some fixes for grid syntax. Anything in particular that's still broken or missing for you?

Look beautiful, only bug I see is with the auto-fit and auto-fill keywords, which should be red.

From here: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns

Just like in the CSS syntax, they're labelled as support.keyword.repetitions.css. I don't know why exactly. I value the consistency with the CSS, so if you want this changed better open an issue there.
I'm going to  close this issue, if you find anything else, please report! Thanks so much for cooperating this last week! 🏅


Update cs.js

Added more translations into Czech

there was an issue with your code standard like using double quotes instead of single. We use something like eslint to standardize it.
It will be a good idea to run: npx eslint --fix app/locale/cs.js after you have made the changes.
I have made those changes for this time and pushed it here: https://github.com/codecombat/codecombat/pull/7533
Thank you for the translations.


Many packages missing

Hello, could you add in dev dependencies all what is needed to run this ?
Please try to run your examples on a fresh nodejs install, there are so much packages missing.

Are you running on npm v2.x?

3.6.0


Saving File Attachment which are not "inline"

Hello,
I Would like to save attached files that are in a msg file which is himself sent as an attachment from an email like below:
email -> msg file -> attachment file within msg.
I find that FileAttachment is perfect when "is_inline: true", it means that the base64 data is present in the "content" key.
But I find that when attachment file is in a msg sent through another email, the attachement file as "is_inline: false" and there is no "content" key with the data as file data.
As the ItemAttachment Type is not fully implemented, I use a function for parsing ItemAttachment after using getallproperties! which return a Hash type with all properties.
For fileattachment inside the itemattachment, the structure is like below and you see here there is "is_inline" to false and no key "content" for retrieving data.
[{:file_attachment=>{:elems=>[{:attachment_id=>{:attribs=>{:id=>"base64IDhere"}}}, {:name=>{:text=>"myfile.pdf"}}, {:content_type=>{:text=>"application/pdf"}}, {:size=>{:text=>"97"}}, {:last_modified_time=>{:text=>"2016-04-11T17:52:28"}}, {:is_inline=>{:text=>"false"}}, {:is_contact_photo=>{:text=>"false"}}]}}]
I try to create a function which do a cli.get_item(id) where id is the one encoded in base64 and i have an error:
"`get_item_parser': Could not retrieve item. ErrorInvalidId: The Id is invalid. (Viewpoint::EWS::EwsItemNotFound)"
What is the right way for doing that, am i using the right id for the file to be retrieved ?
Thanks for your help,

Hi,
I have been able to solve my problem.
First you need to retrieve the attachment_ids by doing analysis of data inside ItemAttachment object. As there is no method implemented for this object type (ItemAttachment) you need to pass your itemattachment.get_all_properties!  which will return a Hash object, to your function for parsing and retrieving the id.
when you have the attach_id you can create another function and pass your ews instance and file_id like this:
def process_embedded_attachment(cli, file_id)

        resp = cli.ews.get_attachment attachment_ids: [file_id]
        if resp.success?
                file_name = resp.response_message[:elems][:attachments][:elems][0][:file_attachment][:elems].find{|e| e.keys.include? :name }[:name][:text]
                file_content = Base64.decode64(resp.response_message[:elems][:attachments][:elems][0][:file_attachment][:elems].find{|e| e.keys.include? :content }[:content][:text])
                File.open('./files/' + file_name, "wb") do |f|
                        f.write(file_content)
                end
        end
end


Configure php.ini file to log errors to syslog.

eom

Jacob, I'll assign this to you since it isn't something we can fix from our repo. This is related to other issues, where exception handling doesn't log anything. You can work with Clayton or Jordan to have that fixed.


New completion service

Use the new completion service being added in https://github.com/OmniSharp/omnisharp-roslyn/pull/1877. This enables things like override completion, as well as overall faster completion due to less filtering and preprocessing being done on the server side.
Fixes https://github.com/OmniSharp/omnisharp-vscode/issues/1044.
Fixes https://github.com/OmniSharp/omnisharp-vscode/issues/3687.

I added a new test for override completion that should hopefully fail until the roslyn dependency is updated. If it doesn't fail, I'll be concerned...

Finally, Waiting for merge and new release

@JoeRobich this now has an option for import completion as well.

thanks for adding the VS Code option for enableImportCompletion too, that will make it more discoverable

Passing CI - https://travis-ci.org/github/OmniSharp/omnisharp-vscode/builds/719717539


Plugin does not work on Samsung Galaxy S22 Ultra

Plugin Version or Commit ID
v0.10.1 (downloaded from master)
Unity Version
2021.3.8
Your Host OS
macOS Monterey 12.6
Target Platform
Android
Target Device
Samsung Galaxy S22 Ultra
[Windows Only] Visual Studio C++ and Windows SDK Version
No response
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
Build tools: 30.0.3
NDK: 21.4.7075529
[iOS Only] XCode Version
No response
Build Command
python build.py build -c opt --linkopt=-s --desktop cpu --android armv7 --android_ndk_api_level 21 --solutions=pose
I also tried:
python build.py build -c opt --linkopt=-s --desktop cpu --android arm64 --android_ndk_api_level 21 --solutions=pose
Bug Description
Same build (apk) works fine on Samsung Galaxy Note 8 (GPU).
What happens on S22 Ultra (GPU):
No pose estimation results are provided for ~ 45 seconds (feels like the graph would be loading). After that time the device restarts itself. Device performs a hard reset (turns off and on). I have a feeling that the device becomes a bit laggy (device's native animation aren't as smooth as they should be and a bit unresponsive) before it restarts.
What happens on Note 8:
It takes about 5 seconds for a graph to load and then runs normally as long as the app is open (tested it for 10 minutes).
It works fine on macOS (CPU) too.
Steps to Reproduce the Bug

Build the plugin
Import it into the project
Install the device on S22 Ultra
Wait for a minute

Log
There are no logs, only warning I get is:
E/SOCL: /data/local/tmp/OCL19148T14.cl:63:27: warning: double precision constant requires cl_khr_fp64, casting to single precision
FLT4 result = INIT_FLT4(0.0);
But this is written a lot before the crash happens.
Screenshot/Video
No response
Additional Context
I've been using this plugin for few months now and it worked perfectly on Samsung Galaxy Note 8. But recently, when I installed the app on Samsung Galaxy S22 Ultra the app stopped working.
I found one relateable bug on interneted. But that was linked to ARFoundation: https://forum.unity.com/threads/arfoundation-5-0-doesnt-work-on-samsung-s22-ultra.1247563/
I tried downloading and running https://google.github.io/mediapipe/solutions/hands.html#main-example and it works fine on S22 Ultra (it doesn't crash the device).

Steps to Reproduce the Bug

Build the plugin
Import it into the project

Which project?
Will you try running the sample app? (not importing it into another project)

There are no logs,

Please build the sample app with the Development Build enabled and run it again.
There should be logs, so share the complete log.

Build Command
python build.py build -c opt --linkopt=-s --desktop cpu --android arm64 --android_ndk_api_level 21 --solutions=pose

In general, when debugging, you should not strip the symbols.

Hello.
Sorry for a late reply. As a project I was referencing to my own project (not public anywhere). I tried it with the sample app now, without stripping the symbols and same thing happened again. on S22 Ultra the face detection did not work and the app froze if I switched to another calculator in app (pose, hand, etc.). Same APK worked fine on Samsung galaxy Note 8.
logs: https://filebin.net/j6e707vjyma226gl
This time I did not use the master version, but I used https://github.com/homuler/MediaPipeUnityPlugin/releases/tag/v0.10.1
To build the plugin I used "python build.py build --android armv7 --desktop cpu --ios arm64 --android_ndk_api_level 21 -vv"

It works if I:

Build with

python build.py build -c opt --linkopt=-s --android arm64

Open the sample project with Unity 2022.2.x.
Build it as arm64 with IL2CPP

It works in my own project now too.
The problem wasn't with the plugin, but the unity version. It works after switching to 2022.2.x.
Looks like it is a Unity v2021 bug and not from UnityMediaPipePlugin 😄. I guess there's some misconfiguration with Unity v2021 and newer devices.
I'll let you close the ticket. Thanks for the help. I really appreciate it ❤!


Bind KEY_EXIT to q in interactive mode

I'm using OpenELEC / LibreELEC with multiple Samsung TVs and they use KEY_EXIT to navigate back menus in Kodi. I tested stdscr.notimeout(True) on the top of _control() function, but that didn't bring any effect. Decided to use this hacky solution of ESCDELAY environment variable set to zero, to not introduce 1000 milliseconds (per curses(3) manual page) delay while pressing Escape key.

I think this introduce a minor annoyance: The Q key for KEY_EXIT interfers with Q for exiting interactive mode. Is there any way to customize the keys from the user perspective?


eslint-config-react-app should provide @babel/plugin-syntax-flow and @babel/plugin-transform-react-jsx

Describe the bug
Installing eslint-config-react-app results in these two warnings:
➤ YN0002: │ eslint-config-react-app@npm:7.0.1 [41989] doesn't provide @babel/plugin-syntax-flow (pc2f30), requested by eslint-plugin-flowtype
➤ YN0002: │ eslint-config-react-app@npm:7.0.1 [41989] doesn't provide @babel/plugin-transform-react-jsx (p4cc0d), requested by eslint-plugin-flowtype

Environment
Yarn 3
Steps to reproduce

yarn install

Expected behavior
eslint-config-react-app should correctly depend on @babel/plugin-syntax-flow and @babel/plugin-transform-react-jsx
Actual behavior
Warning

The fix for this is either too add @babel/plugin-syntax-flow and @babel/plugin-transform-react-jsx to the dependencies of eslint-config-react-app's package.json file or to its peerDependencies. I didn't know which is desired between the two (I assume peerDependencies, but I know ESLint can be finicky about nested dependencies), so I didn't want to cut a PR with the wrong change.

I'm seeing this, too. Also, adding the dependency to my project's list doesn't resolve the warning because the warning doesn't occur in my workspace.

Is there a workaround for this?

@doronhorwitz Sort of:
https://github.com/facebook/create-react-app/issues/11982#issuecomment-1065855134


Code inconsistency from the Paper

I was unable to find any code relating to the sigmoid blending.
What are you using instead ?

also,
in the distance calculation in patch_match , there seems to be an element wise multiplication instead of euclidian distance calculation.


[FR] Would like to install both WireGuard and OpenVPN on same Pi using PiVPN

Is there any way to install both WireGuard and OpenVPN on the same Raspberry Pi using PIVPN? I have already installed and will continue to use OpenVPN. I would like to test out WireGuard on the same Pi. PiVPN makes things so simple, would really like to use it for both.
Any suggestions, manual edits I can make would be much appreciated.
Thanks for a great utility!
Roland

Duplicate of https://github.com/pivpn/pivpn/issues/968. Will consider that.


[Bitcoin] Refactor process_utxos and add BitcoinSatStore to track inscriptions correctly

According to the documentation on inscriptions, inscriptions are inscribed on sats. This implies that in order to accurately track inscriptions with their correct sequence numbers to ordinals.com, it is essential to monitor sats in alignment with the principles of ordinal theory.
Sats should be numbered and transferred according to the algorithm specified in Ord BIP.
The relationship between sats and inscriptions is summarized as follows:

Multiple inscriptions can be inscribed on the same sat by reinscription
Multiple inscriptions can be inscribed on different sats in an input by pointer
An inscription is only transferred when its corresponding sat is sent to a new owner
Cursed inscription should be uncursed after the jubilee height

Our current tracking of inscriptions seems to be incorrect in the following aspects:

coinbase tx should be processed in the end of the block, as seen in rooch and ord
The transfer of an inscription is identified by tracking the old sats and inscriptions associated with the input, as detailed in ord

In fact, tracking SAT_TO_SATPOINT and OUTPOINT_TO_SAT_RANGES within index_sats is not necessary. Instead, our focus should solely be on monitoring satpoint_to_sequence_number and sequence_number_to_inscription_entry as demonstrated in inscriptions_on_output.

Implement the full inscription logic at https://github.com/rooch-network/rooch/blob/main/frameworks/bitcoin-move/sources/inscription_updater.move
And verify the case with ord events in https://github.com/rooch-network/rooch/blob/main/crates/rooch-framework-tests/src/tests/bitcoin_tester_test.rs
Except:

Sat index: Rooch does not handle the Sat index.
Fee: the fee in the ordinals protocol is to display the cost; Rooch does not handle the fee logic.


To select a graphic mark programmatically

Is it possible to select a graphic mark programmatically? How?

createGraphicMark(name, options)
You can refer to GraphicMark.d.ts CreateGraphicMarkOptions
export declare interface CreateGraphicMarkOptions {
  id?: string;
  points?: TimestampPricePoint[];
  styles?: any;
  onDrawStart?: (event: GraphicMarkEvent) => void;
  onDrawing?: (event: GraphicMarkEvent) => void;
  onDrawEnd?: (event: GraphicMarkEvent) => void;
  onClick?: (event: GraphicMarkEvent) => void;
  onRightClick?: (event: GraphicMarkEvent) => boolean;
  onPressedMove?: (event: GraphicMarkEvent) => void;
  onRemove?: (event: GraphicMarkEvent) => void;
}

I don't think you understood me.
It means selecting a Graphic Mark already created.

Need to operate the selected graphic mark?

I already have Graphic Marks created. Now I need to activate a specific one, like the user click, however, programmatically.
Sorry for my horrible English

Try it,
chart.createGraphicMark('segment', {
    onClick: function (event) { console.log(event) }
})

Click on the created segment to see if there is a log print.

Yes, but it hasn't helped me yet:

At least tell me what function you want to implement so that I can help you solve the problem.

chart.setActive(graphMarkID)


Implementing Prim's and Kruskal's algorithm using Java.

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)

Prim's Algorithm
Kruskal's Algorithm

I would like contribute these as a part of DWOC. Kindly assign me

Hey, I would like to contribute this as a part of DWOC. Please assign me this issue to me @atarax665 @anushkrishnav @Aanisha

Hey, I would like to contribute this as a part of GSSOC

@Tanmay2510 Start on it good luck but DWOC is over!! But you are still welcomed to contribute and Learn

@Tanmay2510
Let us know if you are planning to work on it. If not, please let us know as well, by unassigning yourself. We would appreciate honesty more than just ghosting us out after having an Issue :)
@chehak123
I have assigned you this issue. Note that you cannot work on more than 2 Issues at a single time. (You already have one)

@Tanmay2510
Let us know if you are planning to work on it. If not, please let us know as well, by unassigning yourself. We would appreciate honesty more than just ghosting us out after having an Issue :)
@chehak123
I have assigned you this issue. Note that you cannot work on more than 2 Issues at a single time. (You already have one)

@HarshCasper I have made a new pull request on this issue.
Can you please review it?

@Tanmay2510
Let us know if you are planning to work on it. If not, please let us know as well, by unassigning yourself. We would appreciate honesty more than just ghosting us out after having an Issue :)
@chehak123
I have assigned you this issue. Note that you cannot work on more than 2 Issues at a single time. (You already have one)

@HarshCasper I have made a new pull request on this issue.
Can you please review it?

Ideally you should link PRs to the Issues you are assigned to. That makes the review process easier and more productive.

Hello, I am a GSSOC'21 participant and would like to contribute to this project.
I can do this in GO


Incorrect types for onlineManager.setEventListener

Describe the bug
I'm trying to use onlineManager.setEventListener for React Native. The docs give this code snippet:
 import NetInfo from '@react-native-community/netinfo'
 import { onlineManager } from 'react-query'

 onlineManager.setEventListener(setOnline => {
   return NetInfo.addEventListener(state => {
     setOnline(state.isConnected)
   })
 })

However, setOnline is an empty function that doesn't receive any arguments (according to TypeScript types).
To Reproduce
Steps to reproduce the behavior:
See this Expo Snack: https://snack.expo.io/@nandorojo/ashamed-popsicle
Expected behavior
setOnline should be a function that expects a boolean, based on the docs.
Screenshots

This is the error:

Desktop (please complete the following information):

OS: n/a
Browser: n/a
Version: "react-query": "^3.13.0"

Smartphone (please complete the following information):

Device: n/a
OS: n/a
Browser: n/a
Version: n/a

Additional context
It seems like setEventListener is passing the wrong setOnline function. When I call onlineManager.setOnline directly, it seems like the types are correct:
onlineManager.setEventListener(() => {
  return NetInfo.addEventListener((state) => {
    onlineManager.setOnline(state.isConnected)
  })
})

I'm not sure if that will cause any circular references or anything. I'll stick to that for now. Maybe the docs need updating if this is the correct usage.

Also, for what it's worth, importing NetInfo directly breaks SSR on web because it requires window.
I think the real solution for React Native (which is also compatible with web) is this:
import { Platform } from 'react-native'

if (Platform.OS !== 'web') {
  const Network: typeof NetInfo = require('@react-native-community/netinfo')
    .default
  onlineManager.setEventListener(() => {
    return Network.addEventListener((state) => {
      onlineManager.setOnline(state.isConnected)
    })
  })
}

I agree, this looks like a bug. This is the type definition:
https://github.com/tannerlinsley/react-query/blob/7c08f330ec54383b9116f3580e0cc74eeb606a84/src/core/onlineManager.ts#L15
so it looks like the cleanup function actually gets passed the online flag, not the actual event handler

Right, looks like those just need to get swapped.

like so maybe?
https://github.com/tannerlinsley/react-query/pull/2053

That looks right.


boats does not exit properly

npm run build:json && npm run build:yaml will always run build:yaml, because the json process never exits with code > 0
so if you have a script that runs npm run build:json && cp output to other place, this will erroneously copy the file every time
in cli.js:
}).catch(error => {
  console.trace(error)
  process.exit(1) // <- this is required
})

if eslint insists that process.exit is bad, then the error could either be traced and re-thrown, or just left uncaught.
I could see it being the case if the source was imported and used programatically, but the cli should catch it's own errors, and exit - AFAIK i don't see a use for importing the cli into another node script
additionally, bundleSwaggerParse catches it's own error and does not propagate it - resulting in logging the error and the process continuing on:
// bundlerSwaggerParse.js:47 bundler json stringify bundled
undefined
// bundlerSwaggerParse.js:48 bundler log error
{
  stack: 'ResolverError: Error opening file "something.yml" \n' +
    "ENOENT: blah blah stacktrace",
  source: 'something.yml',
  path: [],
  toJSON: [Function: toJSON],
  ioErrorCode: 'ENOENT',
  name: 'ResolverError',
  toString: [Function: toString]
}
// cli.js:59 error was caught, logged, not re-thrown, so the cli continues on and tries to colourize and report success
Trace: TypeError: Cannot read property 'green' of undefined
    at swagger/node_modules/boats/src/cli.js:59:104
    at swagger/node_modules/boats/src/cli.js:62:11


'cv2.cv2' has no attribute 'xfeatures2d'

Hi,  I'm having 'cv2.cv2' has no attribute 'xfeatures2d' issue on <IP_ADDRESS>. I have checked it on later versions where AttributeError: module 'cv2.xfeatures2d' has no attribute 'BEBLID_creat' occurs.
Any help will be appreciated.

I just made a new virtual environment and pip installed  opencv-contrib-python==<IP_ADDRESS>. It worked for me.
There is an issue with opencv and I was not even able to use SIFT which is suspicious. Changing of versions or uninstalling opencv-contrib wasn't working for me. So I decided to make a new environment and it worked for me.
If anyone of you is having problem like this, try this approach as well.


Enhanceuse std::from_chars to do str cast to float/double to avoid lose precision

Proposed changes
load data.csv
1.14

select * from table
1.1400000000000001

after the fix
select * from table
1.14

Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.03 seconds
load time: 506 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230129081328_clickbench_pr_86141.html


Add test coverage reporting

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


(#1532) Replace ParserError with Puppet::Error

I'm not sure how we ended up with ParserError in the provider. This exception doesn't exist in Ruby. Puppet ships ther own exception, Puppet::Error. It probably makes sense to raise that instead.
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.

[ ] Root cause and the steps to reproduce. (If applicable)
[ ] Thought process behind the implementation.

Related Issues (if any)
Mention any related issues or pull requests.
Checklist

[ ] 🟢 Spec tests.
[ ] 🟢 Acceptance tests.
[ ] Manually verified. (For example puppet apply)

Fixes 179472ba261a7d0847fdb93fdcb1d43741c4cdde, so part of 10.0.0.

LGTM, thanks!

I implemented a more working and more detailed solution in https://github.com/puppetlabs/puppetlabs-postgresql/pull/1540, thanks to @ekohl  <3


Can other models be supported?

like llama Series and  qwen Series

yes it's possible but you'd have to implement it yourself. just needs to support a similar hooks structure


Add New Labels Map

Added Severals Layers on Map,
Day map:
Street Map,
Gray Map,
Dark Map,
Sattelite Map

Added Gym Info:
Team Name
Prestige : Total xp
Guarding Pokemon Name and id
Location
Get directions url google maps

Added Pokestop info:
Location
Get directions url google maps

Pokemon info:
Pokemon Name
Location
Get directions url google maps

All tested by on my map in windows 10 and Ubuntu 14.04
Last Developer Branch.
Date: 21/01/2017

Why not including some screenshots? :)

@marbink Thanks for the ideia,is better like this 💯  👍


MudDialog not solving the problem when an argument is passed @bind-IsVisible

Bug type
Component
Component name
MudDialog
What happened?
When i set the @bind-IsVisible function linked to OnBackdropClick not running
Expected behavior
Calling functions that belong to OnBackdropClick
Reproduction link
https://try.mudblazor.com/snippet/cEcwYAEXxmrIYAls
Reproduction steps

bind @bind-IsVisible to variable
bind OnBackdropClick to function
start project
click on backdrop
change value in form

Relevant log output
No response
Version (bug)
6.0.10
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

OnBackdropClick is behaving weird. The callbacks are not triggered reliably.


Enhancement: Improve dataset registration output

Goal-State/What/Result
Dataset registration output includes caching and acceleration information about the dataset.
Why/Purpose
To help the user confirm the configuration of each dataset at runtime to avoid misconfiguration issues.
By When
A target date for done-done completion of the entire enhancement.
Issue/Spec written and reviewed: 06/13
Done-Done: 06/14
Done-Done

[x] First Principles Driven
[x] The Algorithm
[x] PM/Design Review
[x] UX Review
[x] Threat Model / Security Review
[x] Tests
[x] Documentation
[x] Samples/Quickstarts/Tutorials
[x] Release Notes

Spec

Should include from spec information.
Should include information whether results cache is enabled
For accelerated datasets should include acceleration with engine informational text: with acceleration(<engine>, <optional refresh interval>, <optional retention check interval>, <optional information about fallback on source>)

If refresh is on: include refresh check interval information as 30s refresh
If retention is on: include retention check interval information as 1hr retention
If non-default on_empty_result fallback add "fallback on source on empty result"
for file mode use acceleration (sqlite:file) format

Examples:
Dataset taxi_trips registered (s3://spiceai-demo-datasets/taxi_trips/2024/), results cache enabled.
Dataset taxi_trips registered (s3://spiceai-demo-datasets/taxi_trips/2024/), acceleration (duckdb), results cache enabled.
Dataset taxi_trips registered (s3://spiceai-demo-datasets/taxi_trips/2024/), acceleration (sqlite:file, 30s refresh).
Dataset nation registered (spiceai:tpch.nation), acceleration (sqlite, 30s refresh, 1hr retention).
Dataset nation registered (spiceai:tpch.nation), acceleration (sqlite, fallback on source on empty result).

How/MAP

[x] Update registration output
[x] Update README.md with updated registration output

Implementation (issues)
QA

@sgrebnov set a target date, then spec out the issue. Add examples of what we expect the logs to look like after this is done.

Implemented


Optimize SubSquid query on 006

I guess hence we are crashing 006 sometimes after optimization was applied, would be much needed to see where we can optimize the query.
I recall that suspicious query is something happening around the passion feed query?
If we can limit output might do the thing?
Which queries are the biggest ones currently?

I noticed you about OOM errors in this. Did you manage to apply some optimizations?

https://github.com/kodadot/rubick/issues/97
https://github.com/kodadot/rubick/pull/99

tracked here:

[x] https://github.com/kodadot/nft-gallery/issues/3322

Introduced limit to 450 https://github.com/kodadot/rubick/commit/dce34bd7b6972e3f4f8c62828bb1117fa8602468

Meanwhile resolved

It was in the end query on the profile iirc (?)


[REQUEST] Convert text to ANSI string

Is there anyway currently to take a markup-formatted string and render it as an ANSI string replacing the markup by the right ANSI codes ?
Basically:
my_text = '[bold green]My[/][bold red]awesome[/][bold yellow]text[/]'
text = Text.from_markup(my_text)
ansi_string = text.to_ansi() # <-- something like this ?
print(ansi_string)  # using Python's print function would work

My use case: I'm saving colored output as I go and saving it in a database. Later I want to show it on a web interface that can display colors using ANSI codes only.
Thanks for this great library !

I'm guessing you want to capture output?

Nope, simply want to convert rich's markup to ANSI. I am not even using a console.

Trust me, you need the capture API. If you capture the output it won't print it.

Alright, I guess this works:
import io
from rich.console import Console
console = Console()
my_text = '[bold green]My[/][bold red]awesome[/][bold yellow]text[/]'
with console.capture() as capture:
  console.print(my_text)
str_output = capture.get()
print(str_output)

returns:
'\x1b[1;32mMy\x1b[0m\x1b[1;31mawesome\x1b[0m\x1b[1;33mtext\x1b[0m\n'

Final method for future watchers:
from rich.console import Console

def rich_to_ansi(text):
	"""Convert text formatted with rich markup to standard string."""

	tmp_console = Console(file=None, highlight=False)
	with tmp_console.capture() as capture:
		tmp_console.print(text, end='')
	return capture.get()

and use it like:
>>> text = '[bold green]My[/][bold red]awesome[/][bold yellow]text[/]'
>>> ansi_text = rich_to_ansi(text)
>>> ansi_text
'\x1b[1;32mMy\x1b[0m\x1b[1;31mawesome\x1b[0m\x1b[1;33mtext\x1b[0m'
>>> print(ansi_text)
# colored text

Setting file=None prevents printing it to standard out in the process.


Edit shadow prop to have shadow by default

Will update dashboard and marketing site after this merge and release

Yeesh and sorry with my past version tags. I'll tag the next one as 0.2.11 since the last was technically 0.2.10?

The last tags were 0.2.0 and 0.2.1, we can go with 0.2.2 up as far as we need to (e.g. 0.2.123543534), but no big deal.


kpt pkg get fails when repo contains links

Expected behavior
The repo that contains links (to files or dirs) should be cloned without errors
Actual behavior
It fails, see steps to reproduce below
Information
kpt version:
$ kpt version
1.0.0-beta.2

Steps to reproduce the behavior
config dir is in fact a link to another directory:
$ kpt pkg get https://github.com/airshipit/images/image-builder
Package "image-builder":
Fetching https://github.com/airshipit/images@master
From https://github.com/airshipit/images
 * branch            master     -> FETCH_HEAD
Error: error copying package: read /home/ubuntu/.kpt/repos/nb2hi4dthixs6z3joruhkyromnxw2l3bnfzhg2djobuxil3jnvqwozlt2qoyzwmpaczaj2mabgmoz6ccpy======/image-builder/config: is a directory

Apparently CopyDir can't handle links in its current implementation.

@aodinokov Yes, this is a known issue. kpt doesn't handle links well in various workflow not just packaging.

+1 on getting this error.

My use case is a bit different:
I ran the following command:
kpt pkg get<EMAIL_ADDRESS>upstream

When in kpt 0.39, this command ran successfully. But when in kpt 1.0.0+, the command fails with:

Package "manifests":
Fetching<EMAIL_ADDRESS>From https://github.com/argoproj/argo-workflows
 * tag               v3.1.6     -> FETCH_HEAD
Error: error copying package: read /Users/jamxl/.kpt/repos/nb2hi4dthixs6z3joruhkyromnxw2l3bojtw64dsn5vc6ylsm5xs253pojvwm3dpo5z5ihmm3ghqbmqe5gaatghm7bbh4===/docs/examples: is a directory

Note that I only need the files in manifests/ folder, but the error is about symlink examples in a separate folder docs. I think this error is avoidable as long as kpt 1.0.0+ doesn't copy the whole repo.


A patch block depends on gpatch for Linuxbrew

@DoomHammer @KomodoTech

https://travis-ci.org/Linuxbrew/linuxbrew/builds/108714964#L1011
 * Formula name conflicts with homebrew/dupes/gpatch

zlib has a patch for clang, and binutils has a patch for Mac OS 10.6. These two patches should be disabled to simplify the dependency chain for Linuxbrew.

Merged.


Normalize paths in installer script

If the user passes path containing space for example /User/name/My Folder/project and then we use it to clone the backend repository, script crashes (without any meaningful error 😭 ).
To check: https://github.com/DivanteLtd/vue-storefront/blob/develop/core/scripts/installer.js#L138
Error log from send by one of users:

@vue-kacper if You find some time before Bartek will - please close this issue as well


how to use HTTP/2 protocol for O365 CDN Traffic?

Even though the O365 CDN support HTTP/2 protocol, i couldnt see anywhere in SPFx or any setting where we can "request" content via HTTP/2 protocol. https://developer.microsoft.com/en-us/office/blogs/general-availability-of-office-365-cdn/

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

ID: fb134fd8-6880-360a-faea-7eb0eedca2d9
Version Independent ID: 16f799b7-deff-b125-ceed-343933bcbe79
Content: Use the site collection app catalog
Content Source: docs/general-development/site-collection-app-catalog.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

You cannot force to use HTTP/2 because this is something the browser and the server handles.
If you browser is capable of HTTP/2 this does not mean that the traffic use HTTP/2 when the server does not support it.
On the other hand when your browser does not support HTTP/2 but your server does you cannot force to everything transferred via HTTP/2.
This basically mean that you cannot "Request" HTTP/2 your browser have to request. You see this in only in the network trace of you browser.

This for example shows the traffic and protocols used to a communication site in SharePoint.
More on that: https://ma.ttias.be/view-http-spdy-http2-protocol-google-chrome/
It can even happen that you see assets requested via HTTP/1.1 in there.


Feature:  user can select an answer for each question

[x] there need to be some sort of input in the Q/A pages
[x] there needs to be a input handler
[x] #17
[x] this progress needs to be save in data.js or the model

me and Beimnet working on this we completed most tasks such as
let the user have an input on each button
we have added a score handler but we need it to save the data
and also we are dealing with the feedback event
note: in order to see what's going on the app we use the previous UI until we all agree on one

its good work. fine with me

i like this can you merge it i can ocntuniue from there. i would like to add feedback handeller.

Closed by #18


incorrect word wrapping in README.md's

Describe the bug
If there is a README.md inside the component's directory, it gets rendered on top of the component's view in miyagi. The word wrapping is not correct.
To Reproduce
Steps to reproduce the behavior:

open a miyagi instance on e.g. localhost:5000
If there is a top-level readme in place, you can see the word-wrapping is not right
Create a readme somewhere with a longer text of line, ake sure it doesnt accidentally break at a whitespace anyway.
See error

Expected behavior
Proper word wrapping at end of line
Screenshots
.
Desktop (please complete the following information):

OS: [e.g. iOS] Kubuntu
Browser [e.g. chrome, safari] Firefox
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22] 115.0.2

Additional context

I think this is caused by the CSS coming from the project you are working on. Can you check if the property word-wrap (or similar) is applied? If you can confirm that, then I would like to close this ticket as this won't happen in v4 anymore anyway.

Word-wrap is used in that project, and comparing with another project, the problem isn't occuring there. So it is a project specific issue most likely.


Adding CLUSTERED BY to HQL parser

Would that be possible to add CLUSTERED BY to the parser for HQL dialect?
Do you have any contribution guide so I could follow some instructions and do it by myself?
Additional context

https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL+BucketedTables

@swiatek25 you can add it by yourself - needed only to add test in test cases with query and make required changes in code, but it's requireded some wish to work with ply - https://github.com/dabeaz/ply . when just open PR - I will review.
anyway, I can add support for this, I''m not sure that I will be able to do it today, but maybe tomorrow

Hi, thanks for the response. That would take some time for me (getting familiar with ply). If I could count on your contribution I would really appreciate. Thanks in advance.

@swiatek25  I released version 0.24.0 with support - https://pypi.org/project/simple-ddl-parser/. Tests added: https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_hql_output_mode.py#L2006. If you will find any new issues or needed something to add - feel free to open new issue or PR. And thanks one more time for contribution :)


Community Attestation Service integration

Community Attestation Service integration
Description
Adds possibility to run CAS as signing solution.
Currently works with images that have SHA256 digest
Checklist

[x] PR is rebased to/aimed at branch develop
[x] PR follows Contributing Guide
[ ] Added tests (if necessary)
[x] Extended README/Documentation (if necessary)  - extended README with link to CAS
[ ] Adjusted versions of image and Helm chart in values.yaml and Chart.yaml (if necessary)

Please point me what should i change/extend in order to make this PR mergeable

Hello!
It depends on you :)
I would really appreciate support, but you can also just point things that I should change/make and I can implement

Sure no problem.
I will add update docs in next week
Currently CAS integration works only with SHA256, so that's how you should pass image

Grab your API key from https://cas.codenotary.com/
Download binary from https://github.com/codenotary/cas/releases/tag/v1.0.2
Notarize hash of image with

./cas-v1.0.2-linux-amd64-static  notarize --api-key YOURAPIKEY --hash HASH --name ANYASSETNAME

Then you can deploy your Connaisseur with values below. Your email is actually your signer ID in CAS

  - name: default
    type: cas
    signerId: youremail


Fixing migration script for meta

Please submit your pull requests to the 'dev' branch.
When submitting a pull request, please make sure you have completed the following checklist:

[ ] Your code is flake8 compliant (Dojo's code isn't currently flake8 compliant, but we're trying to correct that)
[ ] If this is a new feature and not a bug fix, you've included the proper documentation under the /docs folder

A known issue with DRF is causing our CI tests to fail https://github.com/encode/django-rest-framework/issues/6203


Update & complete user module Open API rest API docs

Only the first API signup has been done by me so far, rest requires implementation.
target file user.yaml

I starting this

Great Job AmirAli.


Add Support for listing all available shares

Hello,
even tho i read this project is just a very basic implementation, do you plan to maintain this library?
I would like to add support for listing all available shares (public/hidden) but i can't manage to do so..
Any Ideas?

@john-dev I have interest to do the same; I might try and take a stab at it.

hi. I use linux and I can do with smb everything by going in /run/user/1000/gvfs
The only thing I need is listing all available shares when i connect without password.
So, I need this too =)


Kubernates integration

Hi @AndreasHeger @AndreasHegerGenomics @david-cgat
I have been writing code (on branch AC-singularity) that allows kubernates interaction, its still very much incomplete, but I have come up with an issue that I would need advice on. The problem is that for kubernates to be fully integrated ruffus will need significant modification of ruffus so that it checks the remote data store and not a local data location.
For example:
@transform(S3.download('aws-test-boto',"pipeline.yml", "./pipeline.yml"),
       regex("(.*)\.(.*)"),
       r"\1.counts")

would work perfectly fine because it downloads the data and then ruffus checks to see if the files exists on the local directory.
However for full cloud interaction the data will be pulled from the cloud, compute then performed and uploaded back to the cloud. Currently, there is no way for ruffus to behave this way. For example, this obviously won't work but it along the lines of how I was thinking we could upload data to the cloud in a pipeline:
@transform(S3.download('aws-test-boto',"pipeline.yml", "./pipeline.yml"),
       regex("(.*)\.(.*)"),
       S3.upload('aws-test-boto',"pipeline2.yml", "./pipeline.yml"))

Therefore a significant re-write of ruffus will be required for cloud support to be fully supported and I have no idea the best strategy for achieving this.

Thanks, good stuff. We should definitely do this.
I will need to think. I am worried that ruffus is already quite complex we need to be careful to have the correct interfaces. I guess it means reworking file_name_parameters.py.
Cromwell works by encapsulating each task in a directory. Each task starts by instantiating all its inputs into an input folder. Local files and files from previous tasks are hard-linked. Others - I assume - would be collected from cloud storage. I am not sure if this works with ruffus.

Thanks andreas, I will look into how cromwell supports cloud interaction.
I can think of a number of ways in which we could support kubernates, all would need substantial changes to ruffus. One was would be to write a completely separate set of ruffus decorators that support cloud interaction? This would separate current code with cloud code more cleanly.
I will let you have a think and maybe we could arrange a developers meeting to discuss this.

Despite not having time properly implement cgat-core with true cloud integration, I have been using cgat-core pipelines on aws with great success, just install it into a EC2 instance and run the pipelines as --local. Data can then be uploaded to S3 bucket within amazon manually or with an automated script.

Perhaps this is of interest: https://github.com/awslabs/mountpoint-s3
I haven't tried it personally but it looks like a fit.

Awesome thanks!


Transaction Conflict, compaction in a loop?

While there is no direct activty on the (single) mount point (BadgerDB as metadata), since several hours now, this (2/ 3 INFO logs, followed by that WARNING) is logged:
...
2023/06/13 17:12:06.329648 badger[1073] <INFO>: [2] [E] LOG Compact 0->6 (5, 4 -> 4 tables with 2 splits). [00603 00604 00605 00606 00607 . 00600 00601 00602 00599 .] -> [00609 00610 00611 00608 .], took 7.8s [logger.go:46]
2023/06/13 17:12:43.469183 badger[1073] <INFO>: [1] [E] LOG Compact 0->6 (5, 4 -> 5 tables with 2 splits). [00612 00613 00614 00615 00616 . 00609 00610 00611 00608 .] -> [00618 00619 00620 00621 00617 .], took 6.853s [logger.go:46]
2023/06/13 17:13:02.836261 juicefs[1073] <WARNING>: Transaction succeeded after 3 tries (239.817187ms), inodes: [], error: Transaction Conflict. Please retry [tkv.go:661]
...

and stats are like these, with both high CPU and MEM consumption:
------usage------ ----------fuse--------- ----meta--- -blockcache ---object--
 cpu   mem   buf | ops   lat   read write| ops   lat | read write| get   put
41.9% 1410M 1053K| 183  4.68   189K   50K|  86  6.72 |1119K 1359K| 183K   61K
49.3% 1452M 1134K| 210  3.57    39K   67K|  95  6.29 |1224K  812K|  35K   63K
29.7% 1195M 1390K| 604  0.99   290K  185K| 270  0.25 | 788K 1783K| 278K   54K
22.8% 1052M 1966K| 548  1.76   886K  191K| 242  0.18 |1430K 2509K| 799K   54K
71.7% 1503M  813K| 499  2.05   673K  152K| 227  1.15 | 656K 1482K| 660K   58K
26.0% 1323M  238K| 394  1.77   527K  127K| 179  0.29 | 897K 1553K| 472K   60K
20.9% 1258M  174K| 576  1.87   297K  182K| 260  0.26 | 716K 1196K| 284K   45K
36.0% 1373M  110K| 859  1.16   378K  291K| 382  0.61 | 961K 1631K| 347K   63K
48.3% 1485M  302K| 557  1.30   283K  168K| 254  0.49 |1801K 2254K| 274K   48K
24.9% 1492M  685K| 756  0.98   583K  235K| 339  0.15 | 899K 1718K| 570K   54K
16.7% 1481M 1197K| 280  2.84   220K   94K| 124  0.17 | 895K 1209K| 212K   46K
23.7% 1489M  302K| 661  1.96   591K  211K| 297  0.20 | 127K  930K| 570K   60K
59.9% 1491M   30K|  16   151     0     0 |   5   477 |   0     0 |   0    55K
39.3% 1538M 1039K| 120  5.73    42K   23K|  56  0.56 |1087K 1021K|  39K   44K
24.4% 1303M 2096K| 409  1.20   186K  141K| 185  0.70 |1034K  518K| 176K   52K
23.6% 1272M 1837K| 365  1.42   393K   94K| 168  0.50 | 291K 1755K| 389K   48K
16.3% 1263M  558K| 149  11.5   231K   48K|  66  0.17 |1391K 1670K| 227K   64K
31.8%  781M 8749K| 544  1.74   350K  191K| 242  0.52 |   0   541K| 334K   63K
26.6%  679M 2094K| 589  1.40  2608K  182K| 256  0.21 |5676K 8467K|2599K   67K
66.2% 1261M 1006K| 452  1.14  1021K  134K| 202  0.47 | 506K 1662K| 959K   52K

Mount is as :
/usr/local/bin/juicefs mount \
   --backup-meta 0 \
   --cache-dir /juicefs \
   --cache-size 10240 \
   --free-space-ratio 0.2 \
   --get-timeout 90 \
   --max-uploads 30 \
   --no-usage-report \
   --open-cache 2592000 \
   --put-timeout 90 \
   --subdir data \
   --upload-delay 90s \
   --writeback \
   "badger:///badger" \
   /data

du -sh /juicefs/*/*
8.3G    raw
23M     rawstaging

Restarting the mount point fixed the issue, but if this can help debug something should it need to be debugged?

The compaction is done within badger, so probably there are consecutive transactions written to it, or it's bugged. It's strange that the juicefs stats shows several hundred ops per second in fuse, while you claimed there's no direct activity. Could you please collect the access log when you meet this issue again to see what's actually going on? Also the pprofs should be helpful, and you can try the new juicefs debug command to gather them easily.

Will do if this reproduces again.


Refactor differ into separate package

Add differ options and package with interface. Update optional values on diff interface to use options.
This consolidates the differ interface definitions into a single package and moves the default implementation into its own package.
Needed for the garbage collection change to set labels on diff creation. The labels must be created on commit to avoid the garbage collector from seeing content as unreferenced.

LGTM

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1621   +/-   ##
=======================================
  Coverage   46.44%   46.44%
=======================================
  Files          26       26
  Lines        3542     3542
=======================================
  Hits         1645     1645
  Misses       1519     1519
  Partials      378      378

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 96725a5...e79a189. Read the comment docs.


Use multistage build for Dockerfile, reduces container size by ~1.5G

This commit essentially just removes the build dependencies/source from the final docker image that gets created, which reduces the size of the built image from ~3.2GB to ~1.6GB as of the current master branch

Thanks a lot @bagelbyte :+1:


Importing scripts: redeem string does nothing

Hi!
When I try to import a script, put in the script raw hex and passphrase and then click OK nothing at all happens.

There is a lack of feedback from this dialog.  When you import a script, if no error message is shown, it is successfully imported. If you didn't run a rescan, this operation is finished, however if you also selected to do a rescan for relevant outputs after importing the script, the rescan will just run in the background without any feeback.  The rescan was a new addition to the program and we don't have a way to show the progress at this time, so it will just complete in the background and you may or may not see more transactions shown as the rescan completes.

Thank you!


docker volume isn't controlled

What is the problem you're trying to solve
Some of the open source images have volume defined in dockerfile.
For containerd, it will create a dir at h host and bind mount it to container.
PR:  https://github.com/containerd/cri/pull/247
But this dir is not controlled, user may writes lots of datas to that mounted dir inside container to abuse the system.
Describe the solution you'd like

User need to do resource request in their pod spec
Kubelet can monitor the usage and take action like evict.
runtime can report the volume usage via CRI to kubelet.

Additional context
This feature had been discussed before
https://github.com/kubernetes/kubernetes/issues/52032
cc @crosbymichael  @Random-Liu  @fuweid

The usage should be charged as part of pod ephemeral storage.

@Random-Liu
If we make this like emptyDir, then the volume's lifecycle is along with the pod. But if not specific configured,  the VOLUME's lifecycle is along with container in contained. If container restart, then the VOLUME data will be lost.  When remove the container, it will remove all of the directories under  dir io.containerd.grpc.v1.cri/containers/<container id>.  Not sure whether there are users like current behavior.

Would is be possible to even deactivate this feature?
My problem is that I'd like to use upstream images, like Wordpress or Nextcloud, but they have this VOLUME directive.
If I could deactivate this feature at containerd level, I'd be equally happy actually :)

@pierreozoux are you talking about disable this in the context of using CRI?

I'm using kubernetes, so in my case yes, but I guess it can be helpful for anybody.
Before asking, I actually checked the doc of containerd and runc, didn't see such option.
Now you responded, I checked CRI part and google, still no luck :)
Is there a way?

Not that I know of.  This would have to be a CRI setting because generating the config happens in the CRI code, we couldn't make this a setting on the containerd daemon, it has to be up to the clients of containerd.


Tree Fields Not Accurate After Model.objects.create()

Once again, great library, and I'm back to trying to use it again after using mptt but running into a real PITA concurrency issue where it has trouble creating distinct, unrelated nodes concurrently without corrupting the tree_ids. Given the project is unmaintained, potential fixes look like they've gotten stuck in PR limbo.
Anyway, I had a lot of trouble getting the right django-tree-queries "tree field" annotations on a model in a certain situation that I've finally solved. I'd like to confirm I understand the library behavior properly and suggest some documentation updates (which I'm happy to contribute as a PR).
Here's what I was doing.
I have a model that inherits from TreeNode. I also set  a custom manager via TreeQuerySet.as_manager(with_tree_fields=True). I want to be able to, given a pk for an instance of this model type, make a copy of the instance with some, slightly different attributes and then make the original instance a child of the new instance. It's essentially a rudimentary VCS.
I ran into two problems trying to do this "version control":

When I create the new object via Model.objects.create(...), I kept getting an error that tree_depth was not an attribute on the new instance. I tried to refresh_from_db() thinking maybe that could help, but no dice. Eventually, I realized that, if I took the pk of the new instance and immediately refetched it via Model.objects.get(id=id), I got the tree field annotations.
One thing that was throwing me a bit was the original instance had the proper parent attribute but the tree_depth was still 0. As with the new instance, refresh_from_db() was no help. Like the new instance, I eventually realized I needed to requery it from the database and my problem was solved.

After discovering working this out and then very closely rereading your documentation, I think this is expected behavior as you state the manager adds the tree fields to queries by default:

Create a manager using TreeQuerySet.as_manager(with_tree_fields=True) if you want to add tree fields to queries by default.

So, I think it's the case that a database refresh will have no effect on these fields as they're not actual database fields but rather calculated fields. Furthermore, create(), I guess, isn't a query?
So, couple questions:

Can you confirm my understanding is correct and that the only way to get the proper, accurate tree fields is to use objects.get() or objects.filter()?
Not having written a Django manager before, is there an easy way to extend the TreeQuerySet code to add these annotations to the model .create() behavior too?
Likewise, do you know if there is a way to override the refresh_from_db() behavior to annotate the tree fields?
Finally, regardless of your answer to 1, 2 or 3, would you welcome some update documentation making this behavior clearer? It took me some time to figure this out, and, while it may be clear to people familiar with the inner workings of Django managers, I'd love to save the less enlightened some time.

Hi,
Thank you!

Yes, your understanding is correct. That's the only way (for now)
The parent foreign key is a boring old Django ForeignKey; if e.g. parent.tree_depth exists it would be relatively easy to set node.tree_depth = node.parent.tree_depth + 1 after initialization or creation. The danger of concurrency issues should be small since those fields are never persisted to the database anyway. I'm not sure I would want to add this code to django-tree-queries though: The database is the single source of truth for now and I don't think I want to change that (because of bugs that will happen as always)
I don't think there's an easy way to extend refresh_from_db. I think it internally also does teh equivalent of a get() followed by reassigning attributes so there's not a big difference from obj.refresh_from_db() to obj = Model.objects.get(pk=obj.pk) (but I could be wrong)
Yes, please. That would be awesome!


az rest --uri not support some Graph Endpoints e.g. /deviceManagement/deviceShellScripts

Per our testing, az rest --uri not support some Graph Endpoints e.g. /deviceManagement/deviceShellScripts, since Azure CLI (1st party app) doesn't have the required delegated permissions.
However, our document doesn't mention that. May I know if any plan for letting az rest support that?  Or can we update the document letting us know that limitation?

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

ID: eeedb9a7-2aed-6727-4cfb-1515809d676e
Version Independent ID: 2c83180d-22ad-db42-e2eb-f27f11977963
Content: az
Content Source: latest/docs-ref-autogen/reference-index.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@jiasli for awareness

Explanation
APIs like List deviceShellScripts require DeviceManagementManagedDevices.Read.All, DeviceManagementManagedDevices.ReadWrite.All permissions.
However, even as a first-party app, Azure CLI is not granted such permissions.
Possible solutions

We are considering exposing something like
# hypothetical
az config set auth.client_id=xxx

so that Azure CLI can also behave like third-party app when using user authentication. (https://github.com/Azure/azure-cli/issues/13284)

Apply for these permissions from Microsoft Graph team.

Workaround
For now, you may use az login with a service principal that has DeviceManagementManagedDevices.Read.All and DeviceManagementManagedDevices.ReadWrite.All application permissions.


Initial attempt at adding Crew Retrieval combos to Player Tools

Code is messy and not very DRY, and I will probably dislike it when I wake up, but it all works!
Feedback welcome, suggestions for what people want to see on here welcome, refactoring welcome.

In that case I'm going to merge - any further feedback on this from others is welcome via Discord, GitHub issue, or pull request.


ionic build android runs build tasks but then doesnt build an APK

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Note: for build related issues you can open up an issue on the ionic-app-scripts repo
https://github.com/driftyco/ionic-app-scripts
Please ensure that you are on the latest version of the CLI.
npm view ionic@latest version
Short description of the problem:
when i run ionic build android it gives me the output of the ionic-app-scripts building and then shows a quick NPM message, it flashes, and then returns me to my terminal.
What behavior are you expecting?
It builds a proper APK
Steps to reproduce:
Not sure..
1.
2.
3.
This is the response i get:

> ionic-hello-world@ ionic:build /root/wme/app
> ionic-app-scripts build

[17:34:20]  ionic-app-scripts 1.0.0
[17:34:20]  build dev started ...
[17:34:20]  clean started ...
[17:34:20]  clean finished in 12 ms
[17:34:20]  copy started ...
[17:34:20]  transpile started ...
[17:34:28]  transpile finished in 7.76 s
[17:34:28]  webpack started ...
[17:34:28]  copy finished in 8.19 s
[17:34:43]  webpack finished in 15.00 s
[17:34:43]  sass started ...
[17:34:45]  sass finished in 2.64 s
[17:34:45]  build dev finished in 25.58 s

Post the output of ionic info below please
Your system information:
Cordova CLI: 5.0.0
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.8
Node Version: v7.5.0
Xcode version: Not installed
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

I tracked this down to the fact that i was running Cordova 5.


fix saving of pytorch models

Fixes https://github.com/iterative/mlem/issues/281
One of the tests still fail. Looking into it.

not sure why pylint fails since it passes locally for me


make local STT better $200

/bounty 200
atm STT with whisper tiny or large produces ton of "thank you" and such
definition of done:

can use local STT without the "thank you" and such noise just switching the -a arg
must be rust obviously
can still compile the app / CLI without issue in github actions etc
works on consumer hardware - users can still use their computer for normal work without having screenpipe destroy their CPU, GPU, RAM

references that might be helpful:

https://github.com/snakers4/silero-models
https://github.com/fishaudio/fish-speech
https://github.com/huggingface/candle

/attempt #322

some says better delimitation of the audio chunk processing

solved myself

@louis030195 what was the solution? It looked like a problem with Whisper hallucinating on snippets with no speech in it.


Add yanbt blog theme

Also was wondering if https://nuxt.studio/ qualifies as CMS it's git based and new.
Thank You!

Hello, @kokamkarsahil. Thanks for the PR. As for https://nuxt.studio/, I think it qualifies as a CMS.


Add TLS support for TCP sockets

This PR is an attempt to add TLS support to pymemcache following the same approach I used to add TLS support to python-binary-memcached.

@jparise, sure. I just wanted to raise the PR for discussion.
I can see that you don't automatically run memcached in your integration tests and I couldn't find it in the CI. I'd need to pass the key/cert to memcached and use the CA to build the context.
Or you do mean coverage with just mocks?

I can see that you don't automatically run memcached in your integration tests and I couldn't find it in the CI. I'd need to pass the key/cert to memcached and use the CA to build the context.

We do start a memcached service instance for our tests:
https://github.com/jparise/pymemcache/blob/b5d586092fced9e5483fcd03f034c8478376ed72/.github/workflows/ci.yml#L40-L43
... but I'm not sure off the top of my head how to configure it with TLS secrets.

Or you do mean coverage with just mocks?

This could be the backup testing strategy.

ah thanks, I was looking for a check called integration in the CI and didn't see that file before.

@jparise the server params are something like this:
https://github.com/moisesguimaraes/poc-secure-memcached/blob/4081c173f01458f8fe74880ec7cbea5a1481deaa/docker-compose.yaml#L16-L25
but the memcached service must be compiled with --enable-tls. Where does that image comes from? Is it dockerhub latest? If so, I added TLS support to it a couple of months ago and it is fine, otherwise I need another plan.

@jparise the server params are something like this:
moisesguimaraes/poc-secure-memcached:docker-compose.yaml@4081c17#L16-L25

I believe we can pass options to the containerized service like this:
memcached:
  image: memcached:latest
  ports:
  - 11211/tcp
  options: --foo --bar --baz

but the memcached service must be compiled with --enable-tls. Where does that image comes from? Is it dockerhub latest? If so, I added TLS support to it a couple of months ago and it is fine, otherwise I need another plan.

The image key specifies the Docker image to use, so I believe memcachd:latest means DockerHub latest here.

ok, now the service is in place, I'll start working on the tests.

@jparise looks like the CI got stuck, how can I ask it to recheck?
Also I still need to investigate TLS using gevent on python2.

@jparise looks like the CI got stuck, how can I ask it to recheck?

I just restarted it. (I have a Re-run option here: https://github.com/pinterest/pymemcache/pull/276/checks)

Lets enable back the py2 TLS tests and see what happens there.

Nice, all tests passed now for all versions. I'll work on the docs on Monday o/

@jparise, if merged, do you have a timeline for the next release?

Thanks again, @moisesguimaraes!
I think we can release this pretty quickly. I put together a 3.1 milestone to track things that will be part of that release.

@moisesguimaraes version 3.1 has been tagged and released.


Logic of publisher_publish command moved to cms.api

Fixes #3279.

It's only a pyflake failure, you just need to cleanup the code before pushing it
Ping if you need help


Create IBM Cloud accounts

As the repo maintainer
I need everyone to make an IBM Cloud account
So that  I can invite other members of our team to their IBM Cloud account and run Kubernetes Cluster successfully
Details and Assumptions
To make an account follow instructions here: https://brightspace.nyu.edu/d2l/le/lessons/290206/topics/8714746
To invite users to dashboard follow instructions here: https://brightspace.nyu.edu/d2l/le/lessons/290206/topics/8714747
Acceptance Criteria
Given IBM cloud is working
When everyone sets up their free accounts
Then I can invite everyone to our dashboard

We have all joined, is a PR needed for this item?

Nope. Going to close.

iirc we only move items to "Closed" after the sprint retrospective?

Oh yeah that's right. I'm just used to hitting close issue after it's resolved. My b


Cannot buy insufficient asset with EVM

2 ways to replicate
use wallet with WETH and EVM transaction dispatch

buy insufficient asset (throws UnsupportedCurrency in dry-run)
router swap with insufficient asset en route (throws InsufficientBalance)

preliminary investigation
UnsupportedCurrency is most likely thrown by on_funds handler, because currency set for fee payer is no supported, but the actual accounts have WETH (20) set as their payment currency in fact

Same issue happens if EVM account is trying to provide liquidity for XYK pool where one of the assets is external asset.
Adding liquidity for normal assets is working on EVM, and also adding liquidity on substrate account to XYK pools with external asset is working

Fixed by #805


cluster unmanageable with etcd/controlplane only (all workers down)

RKE 1.3.7, Rancher 2.6.3
There is no way to schedule rancher + rancher-webhook components to master/controlplane nodes
If all regular workers are down (leaving only etcd/controlplane components), cluster becomes unmanageable since rancher-webhook has no node to run on, and webhooks fail
Currently, rancher helm chart does not allow following:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: node-role.kubernetes.io/controlplane
                operator: Exists
      tolerations:
      - key: node-role.kubernetes.io/controlplane
        operator: Exists

This can be worked around by kustomize post-renderer.
However, since rancher-webhook is deployed by rancher itself, such configuration is (of course) ignored by rancher-webhook helm release.

ideas? comments?


Switch to using TreeSE instead of SE throughout the package

The TreeSE has important properties that are missing from SE, and we have decided to switch to TreeSE in other parts of the mia framework. Task: update examples and vignette to use TreeSE.

This is now done via ..
The motivation: SE is missing some key features for microbiome analysis and it is confusing for the users if two containers with important differences are used in parallel. TreeSE is an SE (inherited class), so all the available SE tools apply to it anyway. Hence we stick to TreeSE in the mia framework.
However, I do not see clearly the need for the function convertToTreeSE. Let us generate some data with miaSim:
library(miaSim)
x <- simulateHubbellRates(
     community_initial = c(0,5,10), migration_p = 0.01,
     metacommunity_p = NULL, k_events = 1, growth_rates = NULL, norm = FALSE,
     t_end=1000)

Now we can use this to create TreeSE from simulations:
tse1 <- convertToTreeSE(
  assay = x$counts,
  colData = x$time,
  metadata = x$metadata)

Same can be readily achieved with other tools existing tools:
tse2 <-    TreeSummarizedExperiment(
  assays = list(counts = assay),
  colData = x$time,
  metadata = x$metadata
)

The function convertToTreeSE does not seem to make the process any simpler. At the same time, it does create a new function with an identical purpose, which is potentially confusing (two different names for the same operation, with different implementations) and also adds maintenance burden for us for this new function (convertToTreeSE).
I suggest to deprecate convertToTreeSE and change the examples to use the dedicated function TreeSummarizedExperiment directly.


iotivity-node on windows fails

Unable to find  module 'uuid' at runtime.,

That's weird. Is this on the maintenance branch?

works fine.

@iamsanjeev OK, so can I close this issue?

I guess this is a duplicate of #95, what with the missing libuuid headers.


[Question]spark sql supports cluster mode

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
In version 3.1.7 of Dolphin scheduler, spark task type
What is the reason why spark sql currently does not support cluster mode?
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Would you like to submit a PR to implement it?


So many shades of green!

We can do better in showing an inactive button.

The Button Pointed is already removed in Live and Dev app. The issue is resolved

Once the Passcode has been entered and re-entered then the Create CTA should appear. Otherwise it should be blank till user creates his passcode as you can see in the screenshots below
File: (Placed on top of file in login flow section)
https://www.figma.com/design/m5eMFTKD391AiJAXaEzgxB/Bitcoin-Keeper?node-id=5-38765&t=MqpQZewRI4Udgmb4-1
s.s:


module 'keras2onnx' has no attribute 'convert_keras'

convert_keras is here, did you find this function?

ok thanks


When setting UserServerProxySetting to true, Ginger is not picking up the UserServerProxySetting

Discussed in https://github.com/Ginger-Automation/Ginger/discussions/2653

Originally posted by mhasanen September  7, 2022
version 4.4

Hi,
The UserServerProxySetting flag when set to true will ignore the Ginger agent proxy, and use the system proxy instead.
If ginger is not picking up the machine proxy, set the Ginger logging level to default, run the desired activity, and share the log file.


Issue #97: Development guides for setting up and contributing to the project are created.

Add a CONTRIBUTING.md that outlines the guideline to contribute to this repository.

@ThomasCardin could you investigate this please? I have the exact same version of Python on my device I don't get that error (tuple). Moreover this has never been an issue previously nor with all the other current PRs.


Add new conda config settings

WARNING  root:conda_config.py:196 The following channel configurations are in conda but not being tracked: ['no_lock']
WARNING  root:conda_config.py:224 The following configurations are in conda but unrecognized by conda-ops: ['register_envs', 'trace']

Moved these to debug Level messages. There's an issue with tracking no_lock since a condarc file won't work if it has things in it that aren't handled by the version of conda at hand.


Error: A web3 provider is not attached to a window.

When running the GSN Starter Kit in a browser without injected Web3 (e.g. MetaMask) the following error is displayed: Error: A web3 provider is not attached to a window.

The starter kit includes no Web3 handling code that isn't used.:
  function renderNoWeb3() {
    return (

Web3 Provider Not Found

Please, install and run Ganache.

    );
  }

Need to update the kit with a working no Web3 pattern.

Hey @abcoathup. Thanks for bringing it up. We've decided to simplify gsn starter kit and make it only about GSN. It shouldn't be used at all with metamask. I'll make sure to remove any related code.

I'll create a new issue in OpenZeppelin Network.js.

Closing as issue created in OpenZeppelin Network.js