Use advertisevo for GlueCEAccessControlBaseRule generation

Previously advertisevo queue settings was ignored and all queues has
GlueCEAccessControlBaseRule based on advertisevo in cluster config section.
Now advertisevo for queue sections taken into account.

Hi, I will export this to GitLab (https://source.coderefinery.org/nordugrid/arc) where we handle the merge requests. Thanks for the contribution!

Hi Igor
Thanks a lot for your submission!
The patch is under review here  https://source.coderefinery.org/nordugrid/arc/-/merge_requests/1062
and now I am testing it on this server: arc-iridium.lunarc.lu.se. There was just a typo fix that I have to add to the above but it seems to work as intended.
My queue configuration is as follows:
[queue:short]
[...]
advertisedvo=nordugrid.org
advertisedvo=alice
[...]
[queue:long]
[...]
advertisedvo=atlas
[...]

Since I am not aware of what else you need for these probes to work, could you please have a look if the rendering on this test server looks as intended?
My understanding is that you only needed this:
$ ldapsearch -x -LLL -h arc-iridium.lunarc.lu.se:2135 -b 'mds-vo-name=resource,o=grid' '(objectClass=GlueCE)' GlueCEAccessControlBaseRule
dn: GlueCEUniqueID=arc-iridium.lunarc.lu.se:2811/nordugrid-SLURM-long,Mds-Vo-n
 ame=resource,o=grid
GlueCEAccessControlBaseRule: VO:atlas

dn: GlueCEUniqueID=arc-iridium.lunarc.lu.se:2811/nordugrid-SLURM-short,Mds-Vo-
 name=resource,o=grid
GlueCEAccessControlBaseRule: VO:nordugrid.org
GlueCEAccessControlBaseRule: VO:alice

But you do not really care about this:
$ ldapsearch -x -LLL -h arc-iridium.lunarc.lu.se:2135 -b 'mds-vo-name=resource,o=grid' '(objectClass=GlueVOView)' GlueCEAccessControlBaseRule
dn: GlueVOViewLocalID=ops,GlueCEUniqueID=arc-iridium.lunarc.lu.se:2811/nordugr
 id-SLURM-long,Mds-Vo-name=resource,o=grid
GlueCEAccessControlBaseRule: VO:ops

dn: GlueVOViewLocalID=ops,GlueCEUniqueID=arc-iridium.lunarc.lu.se:2811/nordugr
 id-SLURM-short,Mds-Vo-name=resource,o=grid
GlueCEAccessControlBaseRule: VO:ops

@floridop , hello.
Thank you for review and fix.
GlueVOView is not taken into account by SAM tests, so I really didn't worry about this part.
Should we (I) fix it too?
BDII at arc-iridium.lunarc.lu.se look's like OK for original patch point of view (without GlueVOView part).

Ok thanks. No there is no need to fix if that solves your problems. I do not want to fix any Glue1 issue. Now merging in gitlab

Merged in master on Gitlab nordugrid/arc. Closing for now. The procedure chosen to export this PR to Gitlab is not the standard. The patch was manually applied. Might revert this and reopen to merge in a better way.

Opening for testing bot to copy over commits.

Note for the record, the original merge request in Gitlab:  https://source.coderefinery.org/nordugrid/arc/-/merge_requests/1062 was reverted.
Instead:  https://source.coderefinery.org/nordugrid/arc/-/merge_requests/1078 was used and is now merged.
Technical reasons for this, the contents is identical, including the typofix added by @floridop .


my question about ABE

Please forgive me for my poor English.I am a student in Asian.
How can I get character string from FP12_BN254 ?
I use the function "extern void FP12_BN254_toOctet(octet *S,FP12_BN254 *x);".
But I cannot get the character string what I use the function'extern void FP12_BN254_fromOctet(FP12_BN254 *x,octet *S);' to input.

Hi,
the function you mention and the structs octet and FP12_BN254 are part of AMCL library that we are using in our ABE schemes.
The function FP12_BN254_fromOctet(FP12_BN254 *x,octet *S) is the right choice, since it saves an element x of FP12_BN254 to octet S. Now you have to understand how octet is defined:
typedef struct {     int len;   /**< length in bytes  */     int max;   /**< max length allowed - enforce truncation  */     char *val; /**< byte array  */ } octet;
This means that if you want a string out of octet S, you have to call S.val (this is a string of length S.len).
Hope this helps.
Kind regards,
Tilen

I am closing the issue since I believe it was answered and there is no additional questions from exmarine.

please, can you give an example of how to use this:
For example i want to encrypt a string: "helloworld" and get the string back after decryption.

Hey,
you will need some library for symmetric encryption (for example libgcrypt). Based on your previous questions you want to use it together with FAME. You can think of ABE scheme as a key management scheme. What you need to do is:

choose a random FP12_BN254 element and encrypt it with FAME
change FP12_BN254 into a string (for example with FP12_BN254_toOctet, or with serialization that we discussed in the other discussion)
hash that string into a 128 bit value
use that value as a key for symmetric encryption, with which you encrypt your message
use FAME to decide who can decrypt
one who decrypts FP12_BN254 element the key can also change it into a string, hash it and get the key for symmetric encryption. He can decrypt the message.

As I said, to encrypt a char *msg = "I want to encrypt and decrypt you with the key management" you need a library for symmetric cryptography. I cannot give you a code example if I don't know which library will you be using. But for example if you wil be using libhydrogen, you can check this link. Instead of creating the secret key with their function, you should create it from FP12_BN254 in a way I wrote above.

Thanks for your guidance. I appreciate all your effort so far. i am sorry for giving you much stress. I reviewed the two library you sent to me. I decided to use libhydrogen. I did implement is as follows but not getting expected result. my c programming knowledge not so good.
cfe_ser buf4;
hydro_secretbox_keygen(key);
char *MESSAGE = "Helloworld";
size_t MESSAGE_LEN = strlen(MESSAGE);
uint8_t ciphertext[CIPHERTEXT_LEN];
hydro_secretbox_keygen(key);
hydro_secretbox_encrypt(ciphertext, MESSAGE, MESSAGE_LEN, 0, CONTEXT, key);
cfe_FP12_BN254_ser((FP12_BN254 *)ciphertext, &buf4);
and use
cfe_fame_encrypt(&cipher, (FP12_BN254 *)buf4.ser, &msp, &pk2, &fame);
and at the receiver end:
error = cfe_fame_decrypt(&decryption, &cipher2, &keys, &fame);
if (error==0)
{
    printf("Decryption successful \n");
    cfe_ser buf3;
    cfe_FP12_BN254_read(&decryption, &buf3);
    char decrypted[11];
    hydro_secretbox_decrypt(decrypted, buf3.ser, CIPHERTEXT_LEN, 0, CONTEXT, key);
    printf("%s", decrypted);

but not working.

Hi,
you are not following the instructions I wrote you.  Your code has a lot of mistakes.
At the encryptor:
-take a random element, here I am taking simply one:
FP12_BN254 key1;
FP12_BN254_one(&key1);

serialize it
cfe_ser buf;
cfe_FP12_BN254_ser(&key1, &buf);`
use some hashing or other method to change buf.ser into key of type uint8_t key[hydro_secretbox_KEYBYTES]; (you will need to look a bit into this, but shoudnt be too hard)
then encrypt your message with that key (don't generate it again)
char *MESSAGE = "Helloworld";
size_t MESSAGE_LEN = strlen(MESSAGE);
uint8_t ciphertext[CIPHERTEXT_LEN];
hydro_secretbox_encrypt(ciphertext, MESSAGE, MESSAGE_LEN, 0, CONTEXT, key);
now ciphertext is of the form uint8_t ciphertext[CIPHERTEXT_LEN];, so you do not need to serialize it, just send it
encrypt key1 with FAME and send it

At the decryptor:

decrypt key1 using fame
use the same procedure as above to get key of type uint8_t key[hydro_secretbox_KEYBYTES]; from key
decrypt the message using that key
char decrypted[MESSAGE_LEN];
hydro_secretbox_decrypt(decrypted, ciphertext, CIPHERTEXT_LEN, 0, CONTEXT, key)

Hello,
Thanks for your guidance, it works perfectly okay now.

Great!


Create a oracle sql kamelet

Started work on a kamelet for oracle database based off the Postgres + Mysql kamelets.

Merged. Thanks @indiealexh


added hover effects to enhance the UI/UX.

Changes Made:

Added smooth hover transitions using CSS/Tailwind CSS for better interactivity.
Implemented hover effects on key components to improve visual feedback.
Updated the styles to create a more dynamic and user-friendly experience.

closes #665

Mine pleasure @mdazfar2 bhai.


Shared code include decorator always returns None

I've setup a simple test package. It uses a commands() function that is decorated with @include('utils') exactly like the documentation for shared code. However it is defining "utils" as None in every situation so I can't run functions from it. I tried making utils a method, removing variants, manually creating the .rez/include folder and putting the file in there, nothing works. It always returns None for the imported file.
Environment

OS Windows 10.0.19041.SP0
Rez version v2.112.0
Rez python version  Python 3.7.4

To Reproduce

Create a package with a single variant and use the include decorator:

variants = [
    ['platform-windows']
]

@include('utils')
def commands():
    print(this.config.package_definition_python_path)
    print(utils)
    utils.fun_test()

Change package_definition_python_path to point to C:\\Users\\swarner\\Desktop\\TestFolder
Put a single file in TestFolder directory called utils.py that has contents:

def fun_test():
    print("Inside fun test")

Run rez-env your_package

Expected behavior
I would expect rez to run and call the function "fun_test" after copying the utils.py file to the .rez/include directory in the package as per the docs. The console output would look something like:
C:\Users\swarner>rez-env test_package
C:\Users\swarner\Desktop\TestFolder
<module 'utils' from 'C:\path\to\package\include\copy\of\file'>>
Inside fun test

You are now in a rez-configured environment.

resolved by swarner@dev-machine, on Tue Apr 11 14:27:07 2023, using Rez v2.112.0

requested packages:
test_package
~platform==windows           (implicit)
~arch==AMD64                 (implicit)
~os==windows-10.0.19041.SP0  (implicit)

resolved packages:
test_package-1.0.0  c:\users\swarner\packages\test_package\1.0.0\platform-windows     (local)
platform-windows   r:\pipeline\configs\rez_package_repository\msc\platform\windows

Actual behavior
Instead I get "None" for the util variable and thus an error when trying to call the method inside. This is what I get as output:
C:\Users\swarner>rez-env test_package
C:\Users\swarner\Desktop\TestFolder
None
14:30:33 ERROR    PackageCommandError: Error in commands in package 'c:\\users\\swarner\\packages\\test_package\\1.0.0\\package.py[0]':
'NoneType' object has no attribute 'fun_test'

In fact I get None across the board even if I try to include('nonExistantFile') which is odd because I would have thought that would raise an InvalidPackageError.

Ah, looks like it was the build step I was missing. Would be nice to have a way to share code that didn't require a rebuild of all the packages using it when it is updated but we can work with this. Thanks for taking the time to review and help me out!!

Depending on what you want to do, if you can expose it as CLI application you could create a regular rez package and then inside your utils.py use ResolvedContext to resolve it and run it in a subprocess. This way you don't need to rebuild all packages every time you change something

Would be nice to have a way to share code that didn't require a rebuild of all the packages using it when it is updated but we can work with this.

This would go against the ideology of rez. Released packages are immutable and that's why @include copies the mofule into the released package.


Image fixes for Shipyard

Some fixes for image building logic, see individual commits for details.

Closing and re-opening to trigger the E2E Consuming jobs.

Closing and re-opening to trigger the E2E Consuming jobs.

Didn't re-run from GHA work for this?

Closing and re-opening to trigger the E2E Consuming jobs.

Didn't re-run from GHA work for this?

There was nothing to re-run, the job hadn’t triggered.


Merge pull request #1 from AlexGomesGalho/AlexGomesGalho-patch-1

Add files via uploadREACT

REACT

REACT

main

main

main

Tesouraria

Alteraçao

Tesouraria

Tesouraria


Devise tests

This library's gone a long time without a proper set of tests.
At some point in the future it would be nice to have a set of tests that could be used to ensure the code is working correctly and nothing gets broken during bugfixes.

If you still plan to go ahead with this, I can suggest my own unit test library: https://github.com/ruifig/czmut


Use Jar protoc plugin

I have a fix for the linter in #79. The other failure is happening because this was submitted from a fork.


fixed: sequence dim for batch-first=False

I modified it to follow torch.nn.LSTM.

A bug is  found.


Salvat/Hachette are not recognized as expansions

The various Salvat/Hachette expansions are not in the card file.
https://github.com/mtgjson/mtgjson/issues/478

Upstream issue, but I'm working with SF to get 2011 in place. We should have 2005 already in.

Should be good to go in 4.0.3 (next build)


fix: Move rules that depend on data from demographic table to Cohort_lookup

Description
Amends that of records were blocked from making it to the cohort distribution table, were not updating the participant management record.
Update Participant will now get the current participant from the participant management table. this is just used to check if the participant already existed.
if a record reaches the cohort lookup rules its assumed that the participant will exist in the Cohort distribution table.
Context

Type of changes

[ ] Refactoring (non-breaking change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[x] Bug fix (non-breaking change which fixes an issue)

Checklist

[ ] I am familiar with the contributing guidelines
[ ] I have followed the code style of the project
[ ] I have added tests to cover my changes
[ ] I have updated the documentation accordingly
[ ] This PR is a result of pair or mob programming

Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

[x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

We can't assume that an amend will already be in cohort distribution we need to handle the possibility that it returns null. This is in the case of an ADD being sent, it then has an exception, we receive an update but it is already in participant management. I'll go over the rules and see how it can be handled

@stephhou
You are right,
I think we need to rethink the Cohort rules here more holistically as we should determine at that stage if its in the cohort distribution table rather than expecting it to be based on the amend / add flag. We can of course receive an amend that failed initial validation so didn't make it to distribution so the checks in the cohort_rules based on the flag should be changed.


Support for installation using poetry for python > 3.9

Currently docling-parse specifies python as ^3.9. This causes issue while installing docling using poetry with python > 3.9. Can we please broaden the scope here?

@dolfim-ibm Do you understand the request above? I thought it was already satisfied.

🤔 Not really.
@ashwan1 can you please provide more details on the issues you see?

I am getting following error:
poetry add docling-parse
Using version ^2.1.1 for docling-parse

Updating dependencies
Resolving dependencies... (5.3s)

Package operations: 1 install, 4 updates, 0 removals

 - Updating pywin32 (307 -> 308)
 - Updating numpy (1.26.4 -> 2.1.3)
   →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
      75│
      76│         # Get the best link
      77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
      78│

Cannot install docling-parse.

I am using python 3.10. In docling-parse's pyproject.yaml, python 3.9 is mentioned.

^3.9 means >=3.9,<4.0. we use and test Docling on python 3.9, 3.10, 3.11, and 3.12 without any issue.
From your post, could it be the issue is actually the numpy version?

I updated my numpy. Still getting same error:
Using version ^2.1.1 for docling-parse

Updating dependencies
Resolving dependencies... (3.0s)

Package operations: 1 install, 0 updates, 0 removals

  - Installing docling-parse (2.1.1): Failed

  RuntimeError

  Unable to find installation candidates for docling-parse (2.1.1)

  at ~\.local\pipx\venvs\poetry\lib\site-packages\poetry\installation\chooser.py:74 in choose_for
       70│
       71│             links.append(link)
       72│
       73│         if not links:
    →  74│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       75│
       76│         # Get the best link
       77│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       78│

Cannot install docling-parse.

Just to clarify, this only happens with poetry.

Is this all the poetry output you get? It is weird.
Can you share the actual poetry command you are running? And also the poetry version?

I tried with a minimal example (using the latest poetry 1.8.4) and I can add docling-parse without any issue, also when using python=^3.10 in pyproject.toml. Can you please try to make a minimal example who could debug?

Here is repo that you can use to replicate. I am using windows 10, if that can be of any use.

docling-parse 2.1.1 has fewer wheels available than previous versions.

@aleph01 Please rebase to v2.1.0 -> for some reason, we had an incomplete wheel set for 2.1.1
(we are fixing it now).


Corretto jdk-11 does not have a src sub-folder any more

Only corretto jdk-8 has an extra "src" sub-folder now
Signed-off-by: Andrew Leonard<EMAIL_ADDRESS>

Successful test build: https://ci.adoptopenjdk.net/view/work-in-progress/job/andrew-jdk11u-linux-x64-corretto/1/


Change decorator args

func(*args):
    handler = args[0]

does the same like
func(handler):
    pass

but the last is more short.
Is there a reason why you choosed version 1?

@danieldaeschle I confess that I'm quite curious why I did that haha. Thanks!


Consolidate SSL logic and enable TLSv1.3 by default.

While working on other SSL stuff, I noticed that the logic for SSL configuration is in two places and a bit confusing. And it's not too hard to enable TLSv1.3, so figured may as well turn it on since it seems to be getting more widely used now. FWIU, openssl intends users to automatically get it enabled when updating their dependency version, so figure similar for Armeria should be acceptable, but let me know if we should flag this. For reference, https://wiki.openssl.org/index.php/TLS1.3
No rush on this PR :)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks, @anuraaga

The default protocols and ciphers work with TLS1.2 and 1.3, so don't think users should need to do anything special in the new version - some insecure ciphers were disabled, and I don't think we'd want to add documentation on how to add back insecure ciphers.
Looking at Slack seems like the TLS failure you're looking at repros in the old version too, so guess we don't need to do anything here.

yeah at this moment I think my inability to configure SSL in a way that works unrelated to this change :P

Just to loop back. I confirm both TLS 1.2 and 1.3 work using curl out-of-box.
For the curious, here's a gist for making a build of curl on OS/X that can use TLS 1.3.
Here's a setup for an armeria spring boot which you can test with:
# assuming you generate the key like this
keytool -genkeypair -alias your_alias -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore your_keystore.p12 -validity 3650

# enter the following overrides, note the password is key-store-password not key-password
java -jar your_boot_app.jar --armeria.ssl.key-store=your_keystore.p12 --armeria.ssl.key-store-type=PKCS12 --armeria.ssl.key-store-password=123123 --armeria.ssl.key-alias=your_alias  --armeria.ssl.enabled=true --armeria.ports[0].port=9411 --armeria.ports[0].protocols[0]=https


[HUDI-4418] Add support for ProtoKafkaSource

What is the purpose of the pull request

Adds support for a ProtoKafkaSource based on RFC 57

Brief change log

Adds PROTO  to Source.SourceType enum
Handles PROTO type in SourceFormatAdapter by converting to Avro from proto Message objects. Conversion to Row goes Proto -> Avro -> Row currently
Added ProtoClassBasedSchemaProvider to generate schemas for a proto class that is currently on the classpath
Added ProtoKafkaSource which parses byte[] into a class that is on the path
Added ProtoConversionUtil which exposes methods for creating schemas and translating from Proto messages to Avro GenericRecords
Added KafkaSource which provides a base class for the other Kafka sources to use

Verify this pull request
This change added tests and can be verified as follows:

Added TestProtoKafkaSource to validate the flow from Kafka to Hudi
Added a BaseTestKafkaSource to avoid repetition between the proto and json source testing
Added TestProtoClassBasedSchemaProvider to validate schemas are properly generated
Added TestProtoConversionUtil to validate the conversion from Proto to Avro is working as expected for all proto types

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

❤  so much!


Indentation/spacing is not maintained when we paste from word

Jodit Version:  3.4.xxxxx
Browser:
OS:
Is React App:
Code
// A *self-contained* demonstration of the problem follows...

Expected behavior:
Indentation Issue:
https://drive.google.com/file/d/1KVv7yGB_L-_IDsX8INaYzJIZ7YwH60tW/view?usp=sharing
Extraspacing:
https://drive.google.com/file/d/1YtRAQJFPz33EFnCUn6sdoqmKfTC5N-6X/view?usp=sharing
Indentation Issue:
https://drive.google.com/file/d/1KVv7yGB_L-_IDsX8INaYzJIZ7YwH60tW/view?usp=sharing
Please Refer the attached Document:
https://filebin.net/xcg3bnhqvb3j7wq2/documentshare.docx

Can you please guide us to solve the above issue?

@marygrace1235 Unfortunately no. The document does not contain the necessary information for pixel-by-pixel copy-paste. WEB does not support all styles that Word supports.
For example list indents in Word are just margin-left, in Jodit we are trying to turn them into nested UL>LI>UL>LI
The Word document does not contain this information. Everything is done exclusively heuristically.
After this nested list is inserted into your page,
Your page can have its own styles.
And here any other styles on your page can affect. Because the browser uses cascading style sheets.
You need to look in each specific situation, on your website for example. Why did this or that indent appear.
The link to your word document is not working.

Please Refer the attached Document:
https://docs.google.com/document/d/1GI2iBb55lV0WC2pvdxSsYPYs_RkBe7my6i0yORVGpks/edit


Use Raspberry Pi to update code on connected Arduino

The PySerial library can be used to communicate with Arduino boards through the serial connection. It may be possible to automatically deploy the latest changes to the code in the arduino directory to each of the connected boards. This would be make the installation process very easy and updates could be made much quicker.

Check for new commits pushed to github
Download the changes.
Reload local python scripts.
If changes were made to the Arduino files compile the latest code and deploy it to the appropriate board.

For compiling the code for the Arduino: http://playground.arduino.cc/BuildArduino/Py

There is more potential here for using firmata to control Arduino boards. This would eliminate the need for there to be unique software on each board.


Confirm the correct installation

Really, this issue is to confirm if everything is done correctly, I appreciate any suggestion. Thanks

Hi @sebastianpadilla02 ,
It seems that everything is fine for your local installation. Keep it up.


Error from parameter assignability incorrectly reported on satisfies keyword

🔎 Search Terms
satisfies, error, reporting, span, call, function
🕗 Version & Regression Information

This changed between versions 5.0 and 5.1

⏯ Playground Link
https://tsplay.dev/mMl61N
💻 Code
const f = (s: { a: true }) => {}

// I would expect the error to span:
// a) "{}" (Ideal IMO)
// b) "{} satisfies unknown" (A little messier but not wrong- this was the 5.0 behavior)

// The error is instead reported only on "satisfies" despite {} satisfying unknown
f({} satisfies unknown)

🙁 Actual behavior
(see example)
🙂 Expected behavior
(see example)
Additional information about the issue
No response

I'm pretty certain that this is a fallout from one of my PRs: https://github.com/microsoft/TypeScript/pull/53797
I think that the solution would be to "unwrap" the errorNode in argument positions to the satisfies' expression. I'll put up a PR for this later, I just need to locate all of the places that have to be updated and add the relevant test cases.


The domain http://places2.csail.mit.edu is down

http://places2.csail.mit.edu/models_places365/alexnet_places365.pth.tar no longer loads

信已收到，谢谢！我会尽快回复。                林焕

Actually, the entire domain http://places2.csail.mit.edu seems to be down.

seems to work again

Yes, it's working now, thanks for the info!


Missing or incomaptible module version.

Getting the following error while executing Get-AzMigDependenciesAgentless
I have tried running in Version 5.1 Powershell 7.1, both have the same error
Az.Accounts version is 2.2.1

On further investigation found that
$TokenCache = $CurrentContext.TokenCache in the function function GetRequestProperties() is null. I have tried with Az module 1.9.5 still no luck. my scenario is B2B. I am assuming this should work regardless
maybe Get-AzAccessToken can be used to make it compatible
Is there any other way to extract this data? am keen to use the Bi template
hope for a fix soon, Plz Help

Hello @ranabanerjee15 ,
I had the same escenario but, when i checked on the debug process I found the problem for my case.
I changed my username a couple days ago but, on Azure still said the older login name and on the code use the name of the token. It was the old UPN. I force to use my current UPN by:
Change the line 26 from
$UserId = $CurrentContext.Account.Id
to this:
$UserId = Read-Host -Prompt "Type your UPN"
After this, everything works. I used Az.Account 1.9.5 version
Try for yourself!
Hello @Vikram1988,
I didn't find any way to get the current user, maybe you know a way for this cases.
Thanks!

@shoootyou , your analysis about TokenCache missing for the latest Az.Account version is correct as found here: https://github.com/Azure/azure-powershell/issues/13337
While it is recommended even in this thread to use the lower version of 1.9.5, I am working towards the changes in the required changes in AzMig_Dependencies.psm1 with the dev team.

AzMig_Dependencies.txt
I have made some edits to the module AzMig_Dependencies.psm1 and tested it with PowerShell 5.1 and Cloud Shell.
PFA the module (renamed as .txt), rename the extension to .psm1 and import the module and try running the following cmdlet again: Get-AzMigDependenciesAgentless.
Please let me know if you continue to hit the issue.

Hi Team,
Per update here: https://github.com/Azure/azure-powershell/issues/13337, the issue should be fixed with version 2.2:
erich-wang commented 11 days ago
Close the issue as Get-AzAccessToken has been provided in Az.Accounts 2.2 which will be released on Nov 17.
However our cx updated to version 2.2.1 but still have same issue, please reopen to check:

11/26/2020 5:48:58 AM                 Warning               TenantId 'fedfd771-b82e-47b1-a705-959f02fe7ded' contains more than one active subscription. First one will be selected
for further use. To select another subscription, use Set-AzContext.
11/26/2020 5:49:09 AM                 Output                  1 - Microsoft.Azure.Commands.Profile.Models.Core.PSAzureContext
11/26/2020 5:49:09 AM                 Error      You cannot call a method on a null-valued expression.
At line:69 char:1

$cacheItem        = $cache.ReadItems()

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

  + FullyQualifiedErrorId : InvokeMethodOnNull

11/26/2020 5:49:10 AM                 Error      Cannot index into a null array.
At line:70 char:1

$AccessToken      = $cacheItem[$cacheItem.Count -1].AccessToken

  + CategoryInfo          : InvalidOperation: (:) [], RuntimeException

  + FullyQualifiedErrorId : NullArray

Closing this issue based on the response from @MSNina123456. @ranabanerjee15 if you still experience problems, let us know and we'll reopen this issue.

Closing this issue based on the response from @MSNina123456. @ranabanerjee15 if you still experience problems, let us know and we'll reopen this issue.

?? I mentioned the issue should be fixed, but it still persists, could you please check my update with error message again? Thanks

I got possible solution: TokenCache is removed from the updated Az.Accounts, you should use Get-AzAccessToken in the script


chore: use BufferSlice instead of JsBuffer

#210  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Brooooooklyn and the rest of your teammates on  Graphite


Doc/example vm4

Contains changes from #540 like #541
Running example PyMAPDL version of vm4.
Like #541 this is missing meta-info about the problem (including the diagram) because I don't have access to the book it was taken from.

@akaszynski This is also ready for revew

A few general notes:

Use get_value rather than get to avoid using a temporary empty variable.
Multiple plots will sit side by side and look quite small.
I've removed the usage of the result attribute and used post_processing instead.  The legacy module (at some point) will be deprecated, and this is one less thing to change.  Plus, the nodal stresses were off.

All that LaTeX I learned is being put to good use!


Can't find GPSU data

When I try to pull out GPSU data, which from what I've read should be in the GPS5 stream, I don't get any data. For instance, adding the condition
GPMF_OK == GPMF_FindNext(ms, STR2FOURCC("GPSU"), GPMF_RECURSE_LEVELS)
to line 179 of GPMF_demo.c doesn't result in any additional data being printed out when I make and run the program.
Any thoughts as to why this would be? Am I misunderstanding how GPSU data is stored? Thank you!

That change will find it the GPSU, however the sample code below is not set up to print it (it will print array of floats.)  Here is a snippet that works:
if (GPMF_OK == GPMF_FindNext(ms, STR2FOURCC("GPSU"), GPMF_RECURSE_LEVELS))
{
uint32_t key = GPMF_Key(ms);
char GSPU[17];
GPMF_FormattedData(ms, GSPU, 16, 0, 1);
GSPU[16] = 0;
printf("%c%c%c%c %s\n", PRINTF_4CC(key), GSPU);

}

Oh, of course -- that was silly of me. Thanks!

Hi David @dnewman-gpsw,
I have followed the sampled code and extracted the timestamp:<PHONE_NUMBER>23.869.
How can I convert this unix timestamp (in seconds I guess) to human date (2020/07/29 for example)?
Thank you.


Document that go apps need "CGO_ENABLED=0" to work

Bonus points for figuring out how to make cgo work.

Do you have a bit of go code that fails with cgo enabled? I can't reproduce the problem with code that imports and uses mattn/go-sqlite3.

(Here's the travis build I have where I tested that out: https://travis-ci.org/jmhodges/distroless_sh_bug/builds/266257763)

Ping! Still looking for cgo-using code that has an error. Can't repro the problems! Maybe Go has fixed the issues?

@jmhodges Thanks for checking this out, I actually can't remember what I did to cause this issue :( Do you have a small sample that does work? We could add it here as a test case. and close out this issue.

I have one that depends on sqlite3, does that count?
You might have to play with the base param in the BUILD file.
Here's hello.go:
package main

import (
	"database/sql"
	"fmt"
	"log"

	_ "github.com/mattn/go-sqlite3"
)

func main() {
	db, err := sql.Open("sqlite3", ":memory:")
	if err != nil {
		log.Fatalln("Open:", err)
	}
	_, err = db.Exec("create table foo (name text)")
	if err != nil {
		log.Fatalln("Exec:", err)
	}
	defer db.Close()
	fmt.Println("Hello, World")
}

And it's BUILD.bazel:
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_binary", "go_test")
load("@io_bazel_rules_docker//docker:docker.bzl", "docker_build")
go_binary(
name = "hello",
visibility = ["//visibility:public"],
deps = ["@com_github_mattn_go_sqlite3//:go_default_library"],
srcs = ["hello.go"],
)
docker_build(
name = "prod",
base = "//:base",
entrypoint = ["./hello"],
files = [
":hello",
],
ports = ["8080"],
)

Perhaps the issue was in loading from shared libs on disk separately, not c files built with the go tool?

I think maybe building something with the race detector and running it in the image will demonstrate the bug?

CGO_ENABLED=0 is required to work with grc.io/distroless/static.
But grc.io/distroless/base exists to work with CGO_ENABLED=1.

Great! (I suspect that's new since this ticket was last updated?)


NexaAI integration

Another interesting backend:
https://github.com/NexaAI/nexa-sdk?tab=readme-ov-file#docker-usage

Love to see it here, today only I was planning to experiment with it and here I found it's already in the works. Thank you very much

Added in v0.2.5, unfortunately Nexa server isn't feature-complete yet, so it's only partial at this stage


feat: add ngx_http_geoip2_module

#91

Apologies for multiple commits and due to this ,multiple actions.I did it by mistake.


[Bug]: DT Issue

Guidelines

[X] I agree to follow this project's Contributing Guidelines.

Project Version
Current
Platform and OS Version
No response
Existing Issues
No response
What happened?

Issue with DT when I try to type in a filter option.
Steps to reproduce
Run the library by itself and try to filter with a query.
Expected behavior
Query filtering.
Attachments
No response
Screenshots or Videos
No response
Additional Information
No response

This should be fixed on the next push since we are updating the library to remove special characters.


erp_accumulate_results operator not working

Before submitting the issue

[X] I have checked for Compatibility issues
[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
All input pins of erp_accumulate_results operator have been defined, but I get an error message saying that some input parameters are missing or badly defined.

This has been reported here: https://discuss.ansys.com/discussion/comment/3118#Comment_3118
Steps To Reproduce
Execute following code:
import ansys.dpf.core as dpf
import numpy as np

path = r"C:\Data\file.rst"

model = dpf.Model(path)

tfreq = model.metadata.time_freq_support.time_frequencies
freqVal = np.array(tfreq.data)

opNamedSel = dpf.operators.scoping.on_named_selection()
opNamedSel.inputs.named_selection_name.connect("LARGE")
opNamedSel.inputs.requested_location.connect("Nodal")
opNamedSel.inputs.data_sources.connect(model)
NSmeshscope = opNamedSel.outputs.mesh_scoping()

fullMesh = model.metadata.meshed_region
op = dpf.operators.mesh.skin() # operator instantiation
op.inputs.mesh.connect(fullMesh)
op.inputs.mesh_scoping.connect(NSmeshscope)# optional
skinMesh = op.outputs.mesh()

op = dpf.operators.result.displacement() # operator instantiation
op.inputs.time_scoping.connect(tfreq)# optional
op.inputs.data_sources.connect(model)
op.inputs.mesh.connect(skinMesh)# optional
disp_fc = op.outputs.fields_container()

erp_field = dpf.operators.result.erp_accumulate_results() # operator instantiation
erp_field.inputs.fields_container.connect(disp_fc)
erp_field.inputs.mesh.connect(skinMesh)
erp_field.inputs.time_scoping.connect(int(1))
erp_field.inputs.mass_density.connect(float(1.293))
erp_field.inputs.speed_of_sound.connect(float(346.0))
erp_field.inputs.erp_type.connect(int(0))
erp_field.inputs.boolean.connect(False)
erp_field.inputs.factor.connect(float(1E-12))
my_field = erp_field.outputs.field()

Which Operating System causes the issue?
Windows
Which DPF/Ansys version are you using?
Ansys 2023 R1
Which Python version causes the issue?
3.10
Installed packages
ansys-dpf-core           0.10.0
asttokens                2.4.1
cachetools               5.3.2
certifi                  2023.11.17
charset-normalizer       3.3.2
colorama                 0.4.6
comm                     0.2.0
debugpy                  1.8.0
decorator                5.1.1
exceptiongroup           1.2.0
executing                2.0.1
google-api-core          2.14.0
google-api-python-client 2.108.0
google-auth              2.23.4
google-auth-httplib2     0.1.1
googleapis-common-protos 1.61.0
grpcio                   1.59.3
httplib2                 0.22.0
idna                     3.4
importlib-metadata       6.8.0
ipykernel                6.26.0
ipython                  8.17.2
jedi                     0.19.1
jupyter_client           8.6.0
jupyter_core             5.5.0
matplotlib-inline        0.1.6
nest-asyncio             1.5.8
numpy                    1.26.2
packaging                23.2
parso                    0.8.3
pip                      23.3.1
platformdirs             4.0.0
prompt-toolkit           3.0.41
protobuf                 4.25.1
psutil                   5.9.6
pure-eval                0.2.2
pyasn1                   0.5.1
pyasn1-modules           0.3.0
Pygments                 2.17.1
pyparsing                3.1.1
python-dateutil          2.8.2
pywin32                  306
pyzmq                    25.1.1
requests                 2.31.0
rsa                      4.9
setuptools               65.5.0
six                      1.16.0
stack-data               0.6.3
tornado                  6.3.3
tqdm                     4.66.1
traitlets                5.13.0
uritemplate              4.1.1
urllib3                  2.1.0
wcwidth                  0.2.11
zipp                     3.17.0

Hi @pmaroneh,
Just started looking at the issue, and it seems this exact error can only appear if:

no field_container is given in input pin 0
or if the fields_container in input pin 0 is not labelled as complex (meaning it contains fields for real and for imaginary part)
or if the fields_container in input pin 0 is not labelled in time
no boundary mesh is given in input pin 1
Would it be possible to check for all of these criteria?
It is most likely that disp_fc does not have the complex label.
You can check that by printing the available labels of the FieldsContainer like so:

print(disp_fc.labels)

Hi PProfizi - Thanks for the help!
If I extract the displacement field from a damped Harmonic solution, the displacements should be complex (right?)
Can i manually assign the "complex" label, and simply set complex part to zero in cases where displacements are purely real-valued?

Hi @KristianKvistIbsen,
To make sure the displacements are complex, you can use the following command to list the labels associated to the FieldsContainer:
print(disp_fc.labels)

It seems right now we do not have an operator to add a null imaginary part to all fields in a FieldsContainer, yet here is how you can do it:
from ansys.dpf import core as dpf

#############
# Construct a mock FieldsContainer with only real fields labelled in time
field_real = dpf.field_from_array([1., 2., 3.])
fc_real = dpf.fields_container_factory.over_time_freq_fields_container(
    fields=[field_real],
)
print(fc_real)
#############

# Copy the real FieldsContainer, multiply it by zero
fc_imaginary = (fc_real.deep_copy() * 0.).eval()
# then manually add the "complex" label to each FieldsContainer
fc_real.add_label(label="complex", default_value=0)
print(fc_real)
fc_imaginary.add_label(label="complex", default_value=1)
print(fc_imaginary)
# and merge the two
fc_complex = dpf.operators.utility.merge_fields_containers(
    fields_containers1=fc_real, fields_containers2=fc_imaginary
).eval()
print(fc_complex)

Thanks again! - I will run a test to see if i can get some results from the erp_accumulate_results() operator.
I will return with an update.


HmsPushEvent.onNotificationOpenedApp is getting executed after everytime the app go to background

Description
i m using HmsPushEvent.onNotificationOpenedApp to listen to the tap on the notification , after that the user get redirect to another screen based on the payload data , but once the app go in background and then to forground the listener get triggred again
Expected behavior
just trigger once after the tap on push notification
code
`this.onNotificationOpenedAppListener = HmsPushEvent.onNotificationOpenedApp(
(result) => {
const data = JSON.stringify(result)
console.log("[onNotificationOpenedApp]:   " + JSON.stringify(result));
//console.log('onNotificationOpenedAppListener', result);
if (result.extras.page) {
switch (result.extras.page) {
case 'screen1':
navigation.navigate('screen1');
break;
case 'screen2':
navigation.navigate('screen2');
break;
case 'screen3':
navigation.navigate('screen3');
break;
default:
break;
                }
            }
        },
    );`

Hi @DDAmine , thank you for your interest in our plugins. Seems like your issue is duplication of #58 . Please check the suggested workaround and reopen the issue if the error persists.


Reading issues with array elements in configuration files in DB less mode

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
Kong 3.4
Current Behavior
I am using the plugin developed by our team.
plugins config example:
plugins:
    - name: our-plugin
      config:
        allowed_iss: [https://test.com/dev, https://test1.com/pro]

In kong 2.8, this example is right, but in kong 3.4, it will be error, error info:
failed parsing declarative configuration: 25:22: found unexpected ':'
If adding single quotes to elements within array, for example :
allowed_iss: ['https://test.com/dev', 'https://test1.com/pro']
It will be ok.
Expected Behavior
What is the reason for this difference? I have checked Kong's upgrade announcement and cannot find any relevant information.
In general, in the configuration file of Kong3.4, if the value of the key value pair is an array and wrapped in square brackets, and if the array element contains a colon and is not wrapped in single quotation marks, an error will occur.
Steps To Reproduce
In Kong 3.4
services:
- name: local-sso
  url: https://localhost
  routes:
  - name: sso-native
    paths: [/:login, /api/frm/sso, /actuator/health]

/:login is a invalid url, just for show case
error logs:
nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:652: error parsing declarative config file /tmp/home/kong/kong.yml:
failed parsing declarative configuration: 9:12: found unexpected ':'

But in kong 2.8, Kong can start normally without any errors.
Anything else?
No response

We need to check some updating on yaml or route matching/validation later.

In PR #9607 we bump lyaml from 6.2.7 to 6.2.8, perhaps it causes some behaviors change.

I did a simple test:
-- resty ./t.lua
local lyaml = require "lyaml"
local contents = [[
services:
- name: local-sso
  url: https://localhost
  routes:
  - name: sso-native
    paths: [/:login, /api/frm/sso, /actuator/health]
]]
local pok, table, err = pcall(lyaml.load, contents)
assert(pok)
print(require("inspect")(table))

It works well, so I think that it is not lyaml's reason.
@lubw7  could you try the same test?

Still failed, it's so queer

Could you give us a minimal test script to re-produce it?

I try it in docker.io/library/kong 3.6.0, it work well.
But it failed in the image built by our team through Dockerfile.
I have checked the lyaml source code of these two images and code is identical.
So I feel puzzled why the same source code can get different running results.

I did a simple test:
-- resty ./t.lua
local lyaml = require "lyaml"
local contents = [[
services:
- name: local-sso
  url: https://localhost
  routes:
  - name: sso-native
    paths: [/:login, /api/frm/sso, /actuator/health]
]]
local pok, table, err = pcall(lyaml.load, contents)
assert(pok)
print(require("inspect")(table))

It works well, so I think that it is not lyaml's reason.
@lubw7 could you try the same test?


Fix extension support in unique objects

Hey Michael --  Running this on Linux and Windows required that I add DestroySurfaceKHR to createInstanceRegisterExtensions() in the generated layer's header files.   I'm doing this now for VulkanTools and will push both when that's working.


Threshold not matched.

I'm trying to set up spike rule that alerts on increase of hits per host per URL. I'm testing below rule. What happens is that I get alerted on single hits(count 1) to URL that was not seen in _ref window.
name: Url_spike
type: spike
timeframe:
seconds: 600
threshold_ref: 200
spike_height: 2
spike_type: up
index: logs-syslog
filter:

query:
query_string:
query: (program:(IIS OR apache) AND http.url.keyword:*)

query_key: [ "host.name" ,"http.url.keyword" ]
include:

host.name
http.url

alert_subject: "Surge in traffic to {}(URL_spike)"
alert_subject_args:

host.name

alert_text_type: alert_text_only
alert_text: "Surge in traffic on host {} to URL {}"
alert_text_args:

host.name
http.url

alert:

email

Yelp/elastalert is no longer maintained. Please use jertel/elastalert2.
https://github.com/jertel/elastalert2


Solver method for getting result data

Useful for the client of distributed computing system

Returned data should be immutable

Implementes through the newly introduced SavePoints


Prevents uBlock origin from displaying element blocker

Hey, great extension! Would love some kind of tab indicator, but setting close window with last tab to false is a good workaround.
One issue is that hiding the address bar prevents the uBlock element blocker from displaying, any way to fix this? Haven't tested any other extensions yet.

Did you try it with the most recent css on the main branch? I think #4 fixes this.

Yes this is from most recent main. I do see the window flash for a split second on Linux, not at all on Windows.

Apologies extension windows display fine once the extensions are pinned to the toolbar, thanks!


Add vietnamese translation for Advance - Erlang Interoperability

@joneslee85 please help to review and improve.
I will translate Advanced lessons to learn at the same time :smiley:

@joneslee85 added a commit based on your feedback


Tiles menu does not open, console error

Since upgrading my foundry install to 8.8, two menus in moulinette have not been working or even opening from the moulinette main menu: Tiles, and Image Search.
The issue is the same with both but Tiles concerns me more since I use it a lot.
It gives this console error when clicking on the button either from the quick menu or the full window with tabs:
Foundry VTT | Rendering MoulinetteForge           foundry.js:2033:15

Moulinette Forge Module | Default supportsMode() not implemented           moulinette-forge-module.js:17:13

Error: An error occurred while rendering MoulinetteForge 302: This is not a registered game setting          foundry.js:2006:14
    get foundry.js:1146
    getFooter moulinette-tiles.js:195
    getData moulinette-forge.js:98
    _render foundry.js:2042
    call_wrapped libWrapper-wrapper.js:465
    <anonymous> listeners.js:75
    _render#0 libWrapper-wrapper.js:160
    _render foundry.js:2729
    render foundry.js:2004
    _onNavigate moulinette-forge.js:165
    jQuery 9
    activateListeners moulinette-forge.js:125
    _render foundry.js:2070
    call_wrapped libWrapper-wrapper.js:465
    <anonymous> listeners.js:75
    _render#0 libWrapper-wrapper.js:160
    _render foundry.js:2729
    render foundry.js:2004
    _onNavigate moulinette-forge.js:165
    jQuery 9
    activateListeners moulinette-forge.js:125
    _render foundry.js:2070
    call_wrapped libWrapper-wrapper.js:465
    <anonymous> listeners.js:75
    _render#0 libWrapper-wrapper.js:160
    _render foundry.js:2729
    render foundry.js:2004
    _onNavigate moulinette-forge.js:165
    render foundry.js:2006
    (Async: promise callback)
    render foundry.js:2004
    _onNavigate moulinette-forge.js:165
    jQuery 9
    activateListeners moulinette-forge.js:125
    _render foundry.js:2070
    call_wrapped libWrapper-wrapper.js:465
    <anonymous> listeners.js:75
    _render#0 libWrapper-wrapper.js:160
    _render foundry.js:2729
    render foundry.js:2004
    _onNavigate moulinette-forge.js:165
    jQuery 9
    activateListeners moulinette-forge.js:125
    _render foundry.js:2070
    call_wrapped libWrapper-wrapper.js:465
    <anonymous> listeners.js:75
    _render#0 libWrapper-wrapper.js:160
    _render foundry.js:2729
    render foundry.js:2004
    _onNavigate moulinette-forge.js:165```

Can you confirm that you also updated moulinette-core to latest version. This error should not happen and seems to be due to a missing setting.

Oh wow. So a weird Foundry bug I just found. I was hitting "Update All" and it seemed to be latest, but by hitting Update directly on Core it suddenly updated (it was still on 3.0.2).
I have no idea why the Update All updated some of the other moulinette modules and bunch of other modules I have no problem but it seems to have been stuck on a lot of modules, I'm hitting them all manually and a lot of them are updating now.
Maybe some module is so old/broken that it's breaking the Update All, the update report gives me a bunch of "timed out" for some old modules I don't use.
So there's no problem i guess, I just had no idea Core wasn't updating!

Interesting. I've never seen that issue. Good that it works. Thank you for using Moulinette


generate alerts when service status changes are detected

Any changes in the service status widget (front page list of services and their current status) should generate an alert in the alert drawer on the side panel.
Sample text for this could be: "OpenStack Cinder in Region One became UNAVAILABLE at 10:39:00 AM PT" or "OpenStack Cinder in Region One became AVAILABLE at 11:05:00 AM PT" with perhaps a corresponding icon like in the status widget.

depends on #147


Passing style array to contentContainerStyle of ScrollView cause an error

Current Behavior

I am passing an style array to contentContainerStyle prop. For now, if a run my project, i got an error below:
Error: Failed to set an indexed property [0] on 'CSSStyleDeclaration': Indexed property setter is not supported.
Expected Behavior
Works as built-in ScrollView. Built-in ScrollView has no error.

BTW i think some of Tamagui component look like... not Tamagui-style? For example:

For ScrollView, is there an elegant way to use contentContainerStyle? For now, shorthands will pass to style, not contentContainerStyle.
For Input and TextArea, they look like only a built-in RN component when a Tamagui theme😂

Tamagui Version
1.94.1

Platform (Web, iOS, Android)
web

Reproduction
import {ScrollView} from 'tamagui'

<ScrollView contentContainerStyle={[xxx, xxx]} />

System Info
No response

I don't think you can pass an array to contentContinaerStyle you need to pass an object
contentContainerStyle={{
     ...style.contentContainer,
     paddingLeft: 34,
     paddingRight: 20
}}

Built-in ScrollView can do this as well. I am now using React Native's ScrollView component

yeah because now ScrollView containerContainer supports Tamagui tokens.
there is this new field to styled() third field that let you add Tamagui token support to custom props
  {
    accept: {
      contentContainerStyle: 'style',
    },
  }

, we can add array support to that. but not a high priority right now


Localized Kubernetes

Signed-off-by: Sachin Sharma<EMAIL_ADDRESS>

I didn't get the time to review completely, this is as far as I read

@sayantani11 I've made the changes you requested. Can you please review the remaining part. Thank you.

closing this PR, creating new issue for kubernetes.md


Android 14: Failed to set playback params: arguments out of range

Version
Media3 1.2.1
More version details
No response
Devices that reproduce the issue
Samsung S21 running Android 14
Devices that do not reproduce the issue
Huawei Mate9 Android 9
Emulator Pixel_6a_API_34 Android 14
Emulator Pixel_7_33_OS Android 13
Reproducible in the demo app?
No
Reproduction steps
import androidx.media3.exoplayer.*
import androidx.media3.common.*

var exoPlayer: ExoPlayer =  ExoPlayer.Builder(context, DefaultRenderersFactory(context)).build()
var speed = 1.5f
Log.d(TAG, "setPlaybackParams speed=$speed pitch=${playbackParameters.pitch}")

playbackParameters = PlaybackParameters(speed, playbackParameters.pitch)
exoPlayer.playbackParameters = playbackParameters

Expected result
speed should be 1.5x
It works on Android 9
Actual result
speed is not changed
logcat output:
setPlaybackParams speed=2.45 pitch=1.0
 W  Failed to set playback params
java.lang.IllegalArgumentException: arguments out of range
    at android.media.AudioTrack.native_set_playback_params(Native Method)
    at android.media.AudioTrack.setPlaybackParams(AudioTrack.java:2809)
    at androidx.media3.exoplayer.audio.DefaultAudioSink.setAudioTrackPlaybackParametersV23(DefaultAudioSink.java:1519)
    at androidx.media3.exoplayer.audio.DefaultAudioSink.setPlaybackParameters(DefaultAudioSink.java:1273)
    at androidx.media3.exoplayer.audio.MediaCodecAudioRenderer.setPlaybackParameters(MediaCodecAudioRenderer.java:691)
    at androidx.media3.exoplayer.DefaultMediaClock.setPlaybackParameters(DefaultMediaClock.java:140)
    at androidx.media3.exoplayer.ExoPlayerImplInternal.setMediaClockPlaybackParameters(ExoPlayerImplInternal.java:1026)
    at androidx.media3.exoplayer.ExoPlayerImplInternal.setPlaybackParametersInternal(ExoPlayerImplInternal.java:1417)
    at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:535)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loopOnce(Looper.java:230)
    at android.os.Looper.loop(Looper.java:319)
    at android.os.HandlerThread.run(HandlerThread.java:67)

Media
https://22953.mc.tritondigital.com/OMNY_STUFFYOUSHOULDKNOW1_PODCAST_P/media-session/cdfbdc63-4e2f-45cd-9d7b-155498835265/d/clips/e73c998e-6e60-432f-8610-ae210140c5b1/a91018a4-ea4f-4130-bf55-ae270180c327/1607b16b-4ee6-484b-88c8-b11501676a3b/audio/direct/t1707904871/Short_Stuff_The_Original_Snake_Oil_Salesman.mp3?t=1707904871&starship-rollup=v0_444444444444&starship-episode-id=01698d33-28e1-4a29-a5e5-1b23f0ae4a62&in_playlist=44710ecc-10bb-48d1-93c7-ae270180c33e
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

That error is coming from the framework AudioTrack saying it does not support the values that you try to set. See JavaDoc here.
I guess this does not happen if you do not set  setEnableAudioTrackPlaybackParams to true. Can you confirm?

Before my setting, the log:
Log.d(TAG, "setPlaybackParams speed=$speed pitch=${playbackParameters.pitch}")
shows: pitch is always 1.0.  I tried speed from 0.5 to 2.5, and it doesn't matter what number it is, always got the exception.
If you look at the stacktrace, when I set say speed=1.5, somewhere in the call stack to AudioTrack the number got messed up.
As mentioned in the report, I tested my code on other Android devices, the problem didn't happen.  It only happens with my S21 Android 14 device.
And in my code, setEnableAudioTrackPlaybackParams was not called.
I tried to specifically calling setEnableAudioTrackPlaybackParams with:
       exoPlayer = ExoPlayer.Builder(context, DefaultRenderersFactory(context).setEnableAudioTrackPlaybackParams(false))             .setTrackSelector(trackSelector)             .setLoadControl(loadControl.build())             .build()
And the issue is the same.

Thanks! Can you shed some more light on the configuration under which you are seeing this warning?

Is setEnableAudioTrackPlaybackParams set to true?
Is the player playing in offload mode when you see this warning?
Have you applied some specific customization to buffer sizes when you see this warning?

The easiest way for us to help is with the ExoPlayer demo app. You are saying above it is not reproducible there. Can you explain why or how we can repro in the demo app? The question is again pointing towards whether you have some specific setup of the player that isn't applied in the demo app, else the demo app could repro this as well.

Ok, it has to do with offload.
I built the player with:
       val audioOffloadPreferences = AudioOffloadPreferences.Builder()             .setAudioOffloadMode(AudioOffloadPreferences.AUDIO_OFFLOAD_MODE_ENABLED)             .setIsGaplessSupportRequired(true)             .build()         exoPlayer = ExoPlayer.Builder(context, DefaultRenderersFactory(context))             .setTrackSelector(trackSelector)             .setLoadControl(loadControl.build())             .build()         exoPlayer.setSeekParameters(SeekParameters.EXACT)         exoPlayer.trackSelectionParameters = exoPlayer.trackSelectionParameters             .buildUpon()             .setAudioOffloadPreferences(audioOffloadPreferences)             .build()
So that has the problem.
Now I changed it to:
       val audioOffloadPreferences = AudioOffloadPreferences.Builder()             .setAudioOffloadMode(AudioOffloadPreferences.AUDIO_OFFLOAD_MODE_ENABLED) // Add additional options as needed             .setIsGaplessSupportRequired(true)             .setIsSpeedChangeSupportRequired(true)             .build()         exoPlayer = ExoPlayer.Builder(context, DefaultRenderersFactory(context))             .setTrackSelector(trackSelector)             .setLoadControl(loadControl.build())             .build()         exoPlayer.setSeekParameters(SeekParameters.EXACT)         exoPlayer.trackSelectionParameters = exoPlayer.trackSelectionParameters             .buildUpon()             .setAudioOffloadPreferences(audioOffloadPreferences)             .build()
by adding setIsSpeedChangeSupportRequired, then the exception doesn't occur, and play speed is set correctly on the S21.
Anyhow, if anyone wants to check about the program, my project Podcini is open source at https://github.com/XilinJia/Podcini.

I've filled a similar bug report here.
By setting setIsSpeedChangeSupportRequired it does not crash anymore but on some devices the playback speed doesn't work anymore, eg Samsung Z Fold 5

I speculate that with my S21 case, when setIsSpeedChangeSupportRequired is specified, things work because the audio stays handled by the CPU and is not offloaded at all.  Is this reasonable?


loading .gemspec multiple times

e.g.
$ bundle exec qed
.../locat/.gemspec:11: warning: already initialized constant REVISION
.../locat/.gemspec:14: warning: already initialized constant PATTERNS

Note, REVISION and PATTERNS are defined in my .gemspec.
Notice this happening at least twice when I was using TRAVIS CI. So I checked it locally and yea, Bundler is doing it.

Bundler currently has to load gemspecs more than once, to create two separate gem graphs that it can compare. There is a ticket already open for the feature request of caching the specs in memory (when possible). Thanks for the report!


Harden regexify() against escaped special characters in input

Addresses issue #1597

Thanks for your patch.
Faker's regexify formatter is very limited by design, because it's already super slow, and adding support for more RegEx grammar would make it even slower. So we won't merge PRs like this one, but instead I encourage you to publish your own version of a regexify formatter with more complete coverage.


UnicodeEncodeError: 'charmap' codec can't encode characters

[2023-06-13 19:07:14] (INFO) Using whisper to translate outputs\03240-03840.mp3
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\xampp\htdocs\whisper-movie\whispermovie\translate.py", line 260, in
main()
File "C:\xampp\htdocs\whisper-movie\whispermovie\translate.py", line 254, in main
segment_and_translate(audio_path, main_directory,
File "C:\xampp\htdocs\whisper-movie\whispermovie\translate.py", line 217, in segment_and_translate    translated_path.write_text(response)
File "C:\Python310\lib\pathlib.py", line 1155, in write_text
return f.write(data)
File "C:\Python310\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 5364-5366: character maps to

chardet==5.1.0
charset-normalizer==3.1.0
idna==3.4
-e git+https://github.com/ultmaster/whisper-movie.git@5d05c8075e5159767dbccfc7c7dfa3da243f1027#egg=nni_amlt
pysrt==1.1.2
requests==2.31.0
urllib3==2.0.3

Looks like whisper API is returning some character that isn't supported by utf-8.
In my experience, the problem will disappear after retrying. I've just pushed a encoding patch. Pull the latest version if retrying doesn't work.

Seems to have fixed that issue, but theres more.


azure-cli and alpine:3.9 - requests dependencies

I have no luck with this Dockerfile on alpine:3.9.
Can anyone check dependecies?
Thanks
FROM alpine:3.9

ENV AZ 2.0.62

RUN apk add -U python3 bash && \
    apk add --virtual=build gcc python3-dev musl-dev libffi-dev openssl-dev make  && \
    pip3 install azure-cli==${AZ} && \
    ln -s /usr/bin/python3 /usr/bin/python

log output:
...
requests 2.21.0 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25 which is incompatible
azure-cli-appservice 0.2.17 has requirement cryptography<2.5, but you'll have cryptography 2.6.1 which is incompatible.
...

az login output:
/usr/lib/python3.6/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
WARNING: To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code <CODE> to authenticate

Reference: https://github.com/Azure/azure-cli/issues/8863
Workaround
RUN apk add -U python3 bash && \
    apk add --virtual=build gcc python3-dev musl-dev libffi-dev openssl-dev make  && \
    pip3 install --upgrade requests && \
    pip3 install azure-cli==${AZ} && \
    ln -s /usr/bin/python3 /usr/bin/python

@marstr any update on this issue?

Sorry, should have closed the loop. This is a dupe of https://github.com/Azure/azure-cli/issues/9257
Basically though, the answer is that the workaround presented is a totally viable one without any drawbacks. (Other than having to had applied a workaround, which stinks in and of itself.) Since this issue was filed, we've locked down the particular version of urllib3 in all of our release channels to squash this error. Also, in https://github.com/Azure/azure-cli/issues/9257 there's a discussion about our long term plan to create reproducible builds.


Switch to vendored libbacktrace

Currently this library generates and symbolicates backtraces through the backtrace(3) and backtrace_symbols_fd(3) system calls.
However, backtrace_symbols() does not use DWARF debug information when symbolicating so stacktraces are often not as full as we would like.
libbacktrace by Ian Lance Taylor is a backtrace library which reads DWARF debug information and hence produces higher quality backtraces.
Update this library so it vendors libbacktrace as an SPM target and uses it instead of backtrace().
A script in scripts/vendor-libbacktrace.sh can be used to update the library in future.

Should we prefix all symbols from the vendored lib with something unique to this Swift package to prevent clashes, if some other library happens to vendor its own version or depends on a system provided version? Just wondering...

Thanks for taking a look at this 🙂.  libbacktrace already prefixes all its symbols with backtrace_* so I thought that might be OK?

hm, I am really not sure. But I seem to remember, that when NIO discussed the integration of BoringSSL, there was a requirement for that you can prefix all symbols. And if I understand it correctly, everything gets prefixed with CNIOBoringSSL. So here it would be something like c_swift_backtrace_*?

Yes, the BoringSSL prefixing was important because otherwise the symbols were all named pretty randomly.  But as the symbols here are already prefixed backtrace_* I think we're probably OK as long as we document this?  I could do some more sed to add extra prefixing but I'm not sure if it gains us anything?

Ah ok, I see. Not sure if this makes sense: but what happens when some other package that my app consumes also includes the same libbacktrace c files. Wouldn't this clash then? It is very hypothetical though because you would probably only depend on such a package in the main app and not some third-party dep.

Yes it would clash then. I could prefix as c_swift_backtrace_* but what happens when another library chooses that prefixing too 😁  Swift isn't great here...

🙃

Do you know what I'm doing wrong if I get the following error message when I try to compile?
.../Sources/CBacktrace/elf.c:43:10: fatal error: 'link.h' file not found
#include <link.h>
         ^~~~~~~~
1 error generated.

I added the package like so:
.package(url: "https://github.com/ianpartridge/swift-backtrace.git", .branch("libbacktrace"))

Are you compiling on macOS? This package only supports Linux. It should build on macOS though so please let me know how to recreate this error myself.

Correct, this was on macOS.

Thanks for replying. I thought I had fixed the macOS build in my latest push. Can you check you were testing commit b63483c and not an earlier one? If you were testing the latest commit, please can you tell me:

Xcode version
Swift version
Are you building in Xcode or from the command-line?

I figured it out, I guess you're on Xcode 10.1? Fix pushed - thanks for reporting!


feat: add make:data artisan command

I often reach for it but it doesn't exist, so this PR adds a make:data artisan command. Nothing special there, a simple generator command with a stub.

Thanks!


One staticFiles.externalLocation overwrites another

Hello,
This is likely related to a similar issue
https://github.com/perwendel/spark/issues/1005
Only in my case, I am running into this leftover bug --with externalLocation.
externalLocations (at least in my case) cannot be subdirectories of each other  -- as that introduces a security risk/exploit.
So I could not make one location as a subdirectory of another as @tipsy  recommend at some point to overcome this bug  for /public resource folders.
Details (using spark 0.7.2 )
I have a setup where a single java instance of Spark, is servicing 2 separate small web apps,
from 2 separate ports (of the same IP address).
I am leveraging the ignite method to setup to separate Services.
main () {

Service port4000 = Service.ignite();
port4000.port(4000);
port4000.staticFIles.location("/public");
port4000.staticFiles.externalLocation("/tmp/www/port4000app");
port4000.get (... )

Service port6000 = Service.ignite();
port6000.port(6000);
port6000.staticFIles.location("/public");
port6000.staticFiles.externalLocation("/tmp/www/port6000app");
port6000.get(...);
}

With the above configuration, I am getting an exception from DirectoryTravesal.java

    public static void protectAgainstForExternal(String path) {
        String nixLikePath = Paths.get(path).toAbsolutePath().toString().replace("\\", "/");
        if (!removeLeadingAndTrailingSlashesFrom(nixLikePath).startsWith(StaticFilesFolder.external())) {
            throw new DirectoryTraversalDetection("external");
        }
    }

Because when comparing the requested directory at port 4000, it is using
StaticFilesFolder.external()   , and that returns a directory associated with port 6000
(because it was setup last).
This is happening because, it appears, that Spark does not associate static folders with
a particular Service instance, and instead, this is just simply a global value that can only be initialized
once per application.
But then, this either seems to be a bug, or I am not understanding correctly how to initialize 2 separate
Services within same main, using the ignite() function.
I scanned the docs but could not find guidance on this.
Presumably, this can also cause a security exploit, when a attacker can get access
to capabilities that should not be available from a given port/service (because
protectAgainstForExternal would not protect)
Thank you in advance,
PS: static instance of the staticFiles configuration here:
https://github.com/perwendel/spark/blob/master/src/main/java/spark/staticfiles/StaticFilesConfiguration.java

It's the same bug as in the issue you linked to.

Fixed by #1036


Animations and meshes duplicated, even with same animation, parent inverse and modifier set

If multiple nodes use the same animation, and the nodes have different parent inverses, the animations are wrong for nodes with a different parent inverse to the first node.
I'm not sure what a sane solution is that doesn't involve duplicating the animation (with different parent inverses applied to it), but reporting in case there is a possible solution.

Let's see, if dublicating the nodes can be avoided ...

A refactored exporter is now enabled by default. It now creates one animation per node, possibly fixing your issue. @Cyp, could you verify that the parent inverses are now correct?

Sorry for the late response.
Seemed to still be getting the issue, but actually it's completely failing to save anything, so I'm not sure…
Doesn't seem to be working, after trying to reset the settings, when saving I'm getting this:
Traceback (most recent call last):
  File "~/.config/blender/2.79/scripts/addons/io_scene_gltf2/__init__.py", line 376, in execute
    return gltf2_export.save(self, context, export_settings)
  File "~/.config/blender/2.79/scripts/addons/io_scene_gltf2/gltf2_export.py", line 85, in save
    generate_glTF(operator, context, export_settings, glTF)
  File "~/.config/blender/2.79/scripts/addons/io_scene_gltf2/gltf2_generate.py", line 2872, in generate_glTF
    generate_animations(operator, context, export_settings, glTF)
  File "~/.config/blender/2.79/scripts/addons/io_scene_gltf2/gltf2_generate.py", line 802, in generate_animations
    process_object_animations(blender_object, action)
  File "~/.config/blender/2.79/scripts/addons/io_scene_gltf2/gltf2_generate.py", line 628, in process_object_animations
    if blender_action.name not in animations:
AttributeError: 'NoneType' object has no attribute 'name'

location: <unknown location>:-1

And (not really related, I think), I couldn't even get back in to the export menu after selecting export indices to UNSIGNED SHORT.
Traceback (most recent call last):
  File "~/.config/blender/2.79/scripts/addons/io_scene_gltf2/__init__.py", line 291, in invoke
    setattr(self, k, v)
  File "/usr/share/blender/2.79/scripts/modules/bpy_types.py", line 611, in __setattr__
    return setattr(properties, attr, value)
TypeError: bpy_struct: item.attr = val: expected a string enum, not int

location: <unknown location>:-1

In def process_object_animations(blender_object, blender_action):, I'm getting blender_action is None, for one of the two objects I was testing with. Not sure if something weird happened to the object, I had one animation set, and somehow when searching in the outliner for an old animation that isn't used, blender was incorrectly saying that the object had it. I then manually deleted it in the outliner, and it finally disappeared. Before that, it seemed to be applying a combination of the animations when exporting.
For the weird object, the down-arrow for "Switch to editing action in animation layer below the current action in the NLA stack" is permanently enabled (clicking has no effect), while the up-arrow is permanently disabled. For a normal object, both arrow buttons are disabled. I don't know what a NLA stack is, and have never used one.

Finally managed to un-weirdify the object by deleting an "Action stash" in an "NLA Editor", and now it can again export animations for the object.
Now that I can actually test the issue, it seems to still be exporting the same animation for both objects, not taking the different parent_inverses into account.
Here's a workaround for thrown exceptions I encountered while trying to export — don't know whether it's appropriate to push to master, since the animation with the [Action stash] ends up not being exported, adding here in case it's useful:
https://github.com/KhronosGroup/glTF-Blender-Exporter/commit/02fad15f41d56933455f4f44e5e1a13c6e5de4d5

The mesh of two objects with the same mesh but different sets of modifiers seems to not get duplicated either.

Thanks for following up on this @Cyp – when testing with glTF-Blender-IO now, are you using Blender 2.8 or 2.79? And could you share a model that reproduces the issue?

Using 2.79b. Haven't tried 2.8.
test.blend.gz → test.gltf (had to rename the .gltf to .gltf.txt to be allowed to upload)
Note that SphereA and SphereB have duplicated mesh data, even though they have the same modifiers.
Note that Cube and SphereA have duplicated animation data, even though they have the same animation and same parent inverse.
Since modifiers can depend on vertex sets, which seem to be per object instead of per mesh, I think testing modifiers for equality might be complicated. But if possible, it's probably better to.

I think #280 and #281 may improve things, if you're able to check.

Tested — those didn't affect my test case. They seem to be to do with skinning, which I'm not currently using.

Note that SphereA and SphereB have duplicated mesh data, even though they have the same modifiers.

The two spheres have no logical connection to us. They both use the mesh data of the cube, but they both have modifiers so we have to create mesh data for them. That they both have the same modifier setup, is unknown to us.

Note that Cube and SphereA have duplicated animation data, even though they have the same animation and same parent inverse.

They need separate animation data in glTF because they have the same parent inverse. If they would share the same animation data, their resulting world space translation would be identical.

Sharing animation data should be possible. See #340 for a partial solution which at least shares the sampler inputs/outputs.

That looks pretty cool!

Is there still an issue here, or can I close this ticket?


Cannot fill missing arguments with mocks

I cannot fill missing arguments with mocks.
See https://github.com/bliet/NSubstituteExample for an example.
Plugin Version 1.9.0
Build #RD-231.8109.212, built on April 4, 2023
idea.log:
2023-04-21 21:12:06,211 [4056986]   INFO - #c.j.r.i.a.ReSharperBulbMenuModelFactory - Backend bulb menu model is ready.
2023-04-21 21:12:07,305 [4058080]   INFO - #c.j.r.i.a.ReSharperBulbMenuModelFactory - Alt-enter lifetime was terminated
2023-04-21 21:12:07,305 [4058080]   WARN - #c.j.r.p.RdConstants - An attempt to use null ClientId context value for per context entity. Returning 'localId.value'. Enable Trace category to investigate stack traces
2023-04-21 21:12:07,305 [4058080]   WARN - #c.j.r.p.RdConstants - An attempt to use null ClientId context value for per context entity. Returning 'localId.value'. Enable Trace category to investigate stack traces
2023-04-21 21:12:09,117 [4059892]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files

Do you have an error in backend.log ?

I add the bakcend log here:
https://github.com/bliet/NSubstituteExample/blob/master/backend-snippet.log

It should be fix in the next version 1.9.2. This should be avilable tomorrow (pending validation on jetbrains site)

thanks.


Change CODEOWNERS and branch protections to suit new flow

We should change CODEOWNERS and branch protections in this repo to match the release flow discussed by @KevinWassermann94 in the latest all hands

Currently have set the branch protections as follows:

master this branch is set to require a single CODEOWNERS review
production this branch is set to require two CODEOWNERS reviews/approvals

With PRs being required and no direct pushing.
@KevinWassermann94 @vpetersson @marvinmarnold does this make sense to you?

And just FYI CODEOWNERS includes developers and tech support teams...

@shawaj Is there a way to make production need 1 approval/review by a dev + 1 more by the tech support?

@KevinWassermann94 I'm not sure that's possible TBH
@vpetersson @marvinmarnold any ideas if this is possible?

It might be possible if we enable Require review from Code Owners in addition to Require approvals. Would need to test this a bit to confirm.


Add ClockControl::max helper

Closes #698
Thank you!
Thank you for your contribution.
Please make sure that your submission includes the following:
Must

[x] The code compiles without errors or warnings.
[x] All examples work.
[x] cargo fmt was run.
[x] Your changes were added to the CHANGELOG.md in the proper section.
[x] You updated existing examples or added examples (if applicable).
[x] Added examples are checked in CI

Nice to have

[x] You add a description of your work to this PR.
[ ] You added proper docs for your newly added features and code.

Is the #[allow(unused)] necessary on public API? 🤔

Is the #[allow(unused)] necessary on public API? 🤔

Thanks, not sure why these were there in the first place, but I've removed them all now.


Error: Huejay: read ECONNRESET

Versions
node-red: 1.0.6
node-red-contrib-huemagic: 2.7.0
node: 10.20.1
Problem
I'm controlling 8 lights and two groups within in page and with one Bridge. Everything runs fine, but o often geht the error in den Debug section... I don't know if this is something to worry or just an "not well handled" behavior in the Huejay library or not...
One thing I'm not completely convinced yet, is that it only happens, when i connect more than 7 HueMagic nodes. From the time, the 8th node is connected, those errors start happening.
Additionally I see also "socket hang up" Errors in the log...

Is there a way to debug that further? I'm using a Synology NAS and everything runs under Docker

i think  this error occured long time ago...
i am already used to see this on and on in the logs ....
if it is a bug, i would be glad it could be solved... 👍

Should not happen any longer with the latest release :)

Hi
After update to 4.04
i have the following error and NodeRed restarts:
TypeError: Cannot read property 'on' of undefined at HueGroup.applyCommands (/opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-huemagic/huemagic/hue-group.js:329:49) at HueGroup._inputCallback (/opt/iobroker/iobroker-data/node-red/node_modules/node-red-contrib-huemagic/huemagic/hue-group.js:95:54) at /opt/iobroker/node_modules/@node-red/runtime/lib/nodes/Node.js:203:26 at Object.trigger (/opt/iobroker/node_modules/@node-red/runtime/lib/hooks.js:113:9) at HueGroup.Node._emitInput (/opt/iobroker/node_modules/@node-red/runtime/lib/nodes/Node.js:195:11) at HueGroup.Node.emit (/opt/iobroker/node_modules/@node-red/runtime/lib/nodes/Node.js:179:25) at HueGroup.Node.receive (/opt/iobroker/node_modules/@node-red/runtime/lib/nodes/Node.js:476:10) at Immediate. (/opt/iobroker/node_modules/@node-red/runtime/lib/flows/Flow.js:679:52) at processImmediate (internal/timers.js:464:21)


Moseq-Model Interface

A DataInterface for raw depth-moseq-model output.

Current raw data does not represent output structure of moseq2-model, and behavioral syllables are already available in the .parquet tables --> We should wait on this until

markowitz-gillis-nature-2023 conversion is finished (higher priority)
We identify well-structured example data (should be easy to obtain from depth-moseq tutorials)
We get explicit buy-in from Datta Lab (other nwb-integration projects may be more useful ex. visualizations)


Add stack tracing to the identity and federation

Tracing
OidcConstants for Identity
OAuthConstants for Identity
IdentityClient
IdentityDirectory
IdentityResource
IdentityGroup
IdentityPermission
IdentityScope

This is going beyond of the scope of this PR, maybe I should merge it first and focus on a new pr with whole Federation foundation


Fix incompatibility issue with django-taggit 1.3.0

django-taggit 1.3.0 was released today, which causes an incompatibility issue with Wagtail, as it introduced new arguments to the API. See: https://github.com/coderedcorp/coderedcms/issues/321
This PR locks Wagtail to < 1.3.0 as a quick fix.

nice

Thanks @FlipperPA! The fix for this issue is now released as django-modelcluster 5.0.2, so any environments that don't have dependencies pinned to exact versions (and would thus have been affected by the 1.3.0 breakage) should now pick up the fixed version.
Have opened #6071 to address the remaining test failure (which is specific to the test suite and will not affect real-world installations).


[SPARK-46381][SQL] Migrate sub-classes of AnalysisException to error classes

What changes were proposed in this pull request?
In the PR, I propose to migrate the rest two sub-classes of AnalysisException onto error classes:

NonEmptyNamespaceException
ExtendedAnalysisException

and forbid raising of such exception without an error class.
Why are the changes needed?
This is a part of the migration on the error framework, and unifying errors in Spark.
Does this PR introduce any user-facing change?
Yes, if user's code depends on the format of error messages.
How was this patch tested?
By existing test suites like:
$ PYSPARK_PYTHON=python3 build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite"

Was this patch authored or co-authored using generative AI tooling?
No.

For my understanding, the following minor PR was the actual foundation of this PR, right?

Before this PR and https://github.com/apache/spark/pull/44311, we had only those exceptions that accept a message and don't require an error class:

NonEmptyNamespaceException
UnresolvedException
ExtendedAnalysisException

The two PRs close the hole.

@dongjoon-hyun @beliefer @LuciferYang @cloud-fan Any objections for the changes?

Merging to master. Thank you, @srielau @LuciferYang @dongjoon-hyun for review.


Error deploying aries-cloudagent image from ghcr.io to openshift4.x - works well with dockerhub version

We used dockerhub aries-cloudagent images (bcgovimages) till version 0.7.5
Now we wanted to update to version 0.8.2 and found following entry in the CHANGELOG:
"Those currently using the container images published by BC Gov on Docker Hub should change to use those published to the Hyperledger Package Repository under aries-cloudagent-python."
So we not only changed the version in our Dockerfile also the repository where the image comes from to ghcr.io/hyperledger/aries-cloudagent-python (which is based on Debian 11)
Locally the container built from this image runs like it should.
When we use our default pipeline to build and deploy it into our company internal openShift 4.x environment we get an error in starting up the appropriate pod:

So we tried the same version (0.8.2) of aries-cloudagent from dockerhub again (which is based on Ubuntu 18 LTS) and with that all works fine. (locally AND in openshift environment)
Here just the starting lines:

What could be the problem here?
PS: Unfortunately there is no possibility for me to start a terminal inside openShift (due to security reasons) .

Can you provide more details regarding which ghcr.io/hyperledger/aries-cloudagent-python image you selected, as there are Python 3.6 and 3.9 versions with and without the indy-sdk installed.
Could you also provide additional details regarding your build and deployment pipeline and the deployment config you're using for OpenShift.
We (BC Gov) are using these images in our OpenShift 4.x environment.  We have working instances of the Python 3.9 0.8.1 and 0.8.2 images deployed in our environments.

Try the ghcr.io/hyperledger/aries-cloudagent-python:py3.9-indy-1.16.0-0.8.2 image.  If you still have issues, I'd like to get details on your Dockerfile.  There could be something in it causing issues.  The Dockerfiles for the ghcr.io/hyperledger/aries-cloudagent-python images were patterned off the ones used for the bcgovimages/aries-cloudagent, they are almost identical except for some small differences in how the Python modules are installed.

I just updated another of our ACA-Py instances to ghcr.io/hyperledger/aries-cloudagent-python:py3.6-indy-1.16.0-0.8.2 and it is working fine.  It had previously been using docker.io/bcgovimages/aries-cloudagent:py36-1.16-1_0.7.4

I'm glad the Python 3.9 image is working for you.  The Python 3.6 image is deprecated and will not be built for the next release, so there is not much point in trying to figure out the issue with it.


added the concept of a schema definition as an interface

@lbroudoux What do you think of this change to address the Schema vs. SchemaDefinition issue in the AsyncAPI data model?  If only Java supported multiple inheritance. :)


sap_swpm: ASCS virtual hostname

Hello,
How to specify a virtual hostname (SAPINST_USE_HOSTNAME) when installaing ASCS ?
The variable sap_swpm_swpm_command_virtual_hostname is wipped out when running the sap_swpm role.

Closing issue due to lack of confirmation


Small Names of The Circuit Elements

Is your feature request related to a problem? Please describe.
The name of the gates are really annoyingly small
Describe the solution you'd like
I want that some kind of tooltip should appear on right where name , and a link should be there , from where the user can know about that gate
Are you working on this? (Yes/No)
No , But I would love to work on this.

Similar to #590

It hasn't been fixed yet though

@RohitKumarGit Please provide the ss

can be closed @nitin10s , it will be addressed on the revamp

can be assigned to me.

Fixed in new UI


contrib/kafka: support cert, key, and caCert in spec.net.tls

Proposed Changes

Add cert, key, and caCert attributes to KafkaSource's spec.net.tls object
Support these new attributes when spec.net.tls.enable is true

Release Note
KafkaSource now supports configuring client certificate and key and server CA cert via new `spec.net.tls.cert`, `spec.net.tls.key`, and `spec.net.tls.caCert` attributes.

/ok-to-test

can you look at the tests?
On Fri 10. May 2019 at 16:19, covbot<EMAIL_ADDRESS>wrote:

The following is the coverage report on pkg/.
Say /test pull-knative-eventing-sources-go-coverage to re-run this
coverage report
File Old Coverage New Coverage Delta
contrib/kafka/pkg/adapter/adapter.go
https://storage.cloud.google.com/knative-prow/pr-logs/pull/knative_eventing-sources/407/pull-knative-eventing-sources-go-coverage/1126853364634619907/artifacts/line-cov.html#file0
14.5% 8.8% -5.8
contrib/kafka/pkg/reconciler/resources/receive_adapter.go
https://storage.cloud.google.com/knative-prow/pr-logs/pull/knative_eventing-sources/407/pull-knative-eventing-sources-go-coverage/1126853364634619907/artifacts/line-cov.html#file2
100.0% 91.7% -8.3
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/knative/eventing-sources/pull/407#issuecomment-491305986,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABGPTULEDUBH27SFSEM4I3PUWAARANCNFSM4HMDCZHQ
.

--
Sent from Gmail Mobile

Added tests for newTLSConfig and verifyCertSkipHostname in pkg/adapter which helped coverage there.

And went ahead and added another test to pkg/reconciler/resources which should get that back to 100%.

/lgtm
/approve


Hackathon23

I added the Prettier and subworkflow sections, task is yet to be complemented by @Furentsu's work.

@nf-core-bot fix linting pretty please :pray:


DropDown stop opening

Versions

Python: 3.4
OS: GNU/Linux
Kivy: 1.9.1
Kivy installation method: PyPI

Description
As I Have got a weird behaviour around a custom dropdown, in an app with a ListView..
Basically, you can submit around 20 actions from the dropdown menu and then, it is not possible anymore to show the dropdown menu, even if you delete some of the actions in the listview
Code and Logs
This is the Python file : http://pastebin.com/e44B117H
This is the kv file : http://pastebin.com/AuzQCekj

Could you reproduce the bug without making use of ListView? The latter has been deprecated.
There's a way to have python and kv code in the same file, please follow this example: https://git.io/vM1id.
The issue template has a code block, please embed the example in your post, if possible.

The issue is only with using the ListWiew. I don't have understand what is deprecated in my code : latter ?
Below the code all included :
import kivy
kivy.require('1.9.0')

from kivy.uix.dropdown import DropDown
from kivy.lang import Builder
from kivy.uix.screenmanager import Screen
from kivy.properties import ObjectProperty
from kivy.app import App

kv = """
#:kivy 1.0
#: import ListAdapter kivy.adapters.listadapter.ListAdapter
#: import ListItemButton kivy.uix.listview.ListItemButton

<CustomDropDown>:
    Button:
        text: 'My first Item'
        size_hint_y: None
        height: 44
        on_release: root.select('item1')
    Label:
        text: 'Unselectable item'
        size_hint_y: None
        height: 44
    Button:
        text: 'My second Item'
        size_hint_y: None
        height: 44
        on_release: root.select('item2')

<MainScreen>:
    orientation: "vertical"
    hello_btn: hello
    submit_btn: submit
    delete_btn: delete
    test_list: test_list_view

    BoxLayout:
        orientation: 'vertical'
        padding: 5
        spacing: 5

        BoxLayout:
            size_hint_y: None
            height: "40dp"

            Button:
                id: hello
                text: "Hello"
                size_hint: (None, None)
                height: '48dp'
            Label:
                text: "Actions..."
            Button:
                id: submit
                text: "Submit"
                size_hint_y: None
                height: '48dp'
                on_press: root.submit_item()
            Button:
                id: delete
                text: "Delete"
                size_hint_y: None
                height: '48dp'
                on_press: root.delete_item()

        ListView:
            id: test_list_view
            adapter:
                ListAdapter(data=[], cls=ListItemButton)
"""

class CustomDropDown(DropDown):
    pass

class MainScreen(Screen):
    hello_btn = ObjectProperty()
    submit_btn = ObjectProperty()
    delete_btn = ObjectProperty()
    test_list = ObjectProperty()

    def __init__(self, **kwargs):
        super(MainScreen, self).__init__(**kwargs)
        dropdown = CustomDropDown()
        self.hello_btn.bind(on_release=dropdown.open)
        dropdown.bind(on_select=lambda instance, x: setattr(self.hello_btn, 'text', x))

    def submit_item(self):
        message = "---> {} is selected...".format(self.hello_btn.text)
        self.test_list.adapter.data.extend([message])
        self.test_list._trigger_reset_populate()

    def delete_item(self):
        if self.test_list.adapter.selection:
            selection = self.test_list.adapter.selection[0].text
            self.test_list.adapter.data.remove(selection)
            self.test_list._trigger_reset_populate()

class CustomDropDownApp(App):

    def build(self):
        return MainScreen()

if __name__=='__main__':
    Builder.load_string(kv)
    CustomDropDownApp().run()

You could migrate to RecycleView, it's in the dev version. ListView is not supported anymore.


Monokai theme: parameters are not colored in Orange

Extracted from issue #1470.
I am using Monokai, where function parameters are displayed in orange, but with this update the parameters are displayed in gray although the Monokai.tmTheme clearly states that parameters should be orange (#FD971F).

The same problem occurs in TS.

I just installed version 0.10.6, commit a80232bb, and parameters are still gray.
Does commit a80232bb contain this fix?
I opened tokens.css in C:\Program Files (x86)\Microsoft VS Code\resources\app\out\vs\languages\markdown\common and searched for ".token.meta.parameter", and it's not there, so it seems the fix is in this commit, but the monokai theme is still broken.

0.10.6 is the December release. You will see this in te January release due January 29.
See https://github.com/Microsoft/vscode/issues/1826

Thank you, I eagerly wait for that release :-)


fix: wrong enumeration with kallisto included

Description

Related Issue

Checklist

[x] I've formatted the PR title in accordance with the structure of the conventional commit messages.
[x] I've updated the code style using pre-commit if needed.
[ ] I've updated or supplemented the documentation as needed.
[x] I've read the CODE_OF_CONDUCT.md document.
[x] I've read the CONTRIBUTING.md guide.

@alethomas What do you think of this order?


[BUG] Release links are broken

See the release notes.
https://github.com/code-ready/crc/releases
The downloads link returns a 404

@andyczerwonka it is written it will be available on 18th Sep

Yep, I missed that. Closing.

The message should read Will be available at: (not including are) ;-)


Cursor is not properly aligned in a multiline TextArea

[x] I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
The multiline textarea cursor should be aligned with the text.
Current Behavior
The cursor is not properly aligned when it is displayed in Safari.
Strangely, I am only able to reproduce the problem on a iPhone 6 in Portrait Mode.
Steps to Reproduce (for bugs)
<TextField id="REASON_NOTE"                          multiLine={true}                          maxLength={255}                          onChange={this.onReasonNoteChange}                          underlineShow={false}/>
Note: the "TextField" is being used into a Dialog.

Context

Your Environment

Tech
Version

Material-UI
0.18.7

React
15.5.4

browser
Safari

etc

It's most likely surfacing a recent iOS 11 regression: https://github.com/mui-org/material-ui/issues/9034#issuecomment-342983137.