Modules import with and without entry point

at the beginning I want to say, I'm new to PEX, but it looks brilliant to me, however I'm struggling with one thing, which will be probably obvious to you.
I want to pack multiple modules in a single PEX to create something like busybox-like. For instance some libraries with execs like mkdocs from mkdocs, so I generate PEX using
pex pex mkdocs -c pex -o all-in-one.pex

then I can run all executables from modules by:
all-in-one.pex -c mkdocs mkdocs

but when I simply run all-in-one.pex, I will be in a bare python interpreter and I cannot import mkdocs. When I add all modules after that, so all-in-one.pex mkdocs <other modules> then I see it's loaded at the beginning (verbose mode with modules listed) and it's available in the interpreter. But I don't want to type all modules always. I'd like all of them to be pre-loaded automatically or use a wildcard to load some of them or just import them at will in that interpreter.
On the other hand, when I generate PEX without an entry point
pex pex mkdocs -o all-in-one.pex

and when I run it, all modules seems to be pre-loaded automatically, even without verbose message  which indicates which (all) were loaded and I can import all of them in python interpreter which is spawned when it's executed, but then I can't run execs from modules :-( or I don't know how to run them..
Is it designed this way? or am I doing something wrong when I try to generate it with pex as entry point and try to import modules in the interpreter without explicitly listing all required modules.

I think there's a little bit of confusion.  Since you made '-c pex' the default entry point for all-in-one.pex, the "drop-into-interpreter" behavior is that of pex creating an empty environment, not dropping into the environment of all-in-one.pex.
For example, you can do the following instead:
$ pex pex mkdocs -o all-in-one.pex

$ PEX_SCRIPT=mkdocs ./all-in-one.pex --help
Usage: all-in-one.pex [OPTIONS] COMMAND [ARGS]...

  MkDocs - Project documentation with Markdown.

Options:
  -V, --version  Show the version and exit.
  -q, --quiet    Silence warnings
  -v, --verbose  Enable verbose output
  -h, --help     Show this message and exit.

Commands:
  build      Build the MkDocs documentation
  gh-deploy  Deply your documentation to GitHub Pages
  json       Build the MkDocs documentation to JSON files...
  new        Create a new MkDocs project
  serve      Run the builtin development server

$ PEX_SCRIPT=pex ./all-in-one.pex --help
Usage: all-in-one.pex [-o OUTPUT.PEX] [options] [-- arg1 arg2 ...]

all-in-one.pex builds a PEX (Python Executable) file based on the given specifications: sources, requirements, their dependencies and other options.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -o PEX_NAME, --output-file=PEX_NAME
                        The name of the generated .pex file: Omiting this will
                        run PEX immediately and not save it to a file.

etc.

I think this one was answered sufficiently.  Please reopen if there is still any confusion.


yarn run toolbox does not create assets

I've run the 'yarn run toolbox' command a couple times and it appears to run and complete without issue but I do not see any of the assets.

Figured it out. Thanks!


Label does not match calculation from sorce data

❓ Questions and Help
Tried to understand how Qlib works and hit this issue: I calculated a label by Excel and compared it with the same label dumped from Qlib code, by same stock instrument in same year. They did NOT match, not evel close. I know even the 'source data' from Yahoo Finance was pre-processed by some notmalization but since my lebel involves only the close feature, it is supposed to remain unchanged through the process. See my screenshot below.
In the left marked in yello is the source data calculation in Excel, data was fetched by D.feature and stored in csv, dumped to .bin then finally feed into 'provider_uri'; in the right marked in blue is the dump from DatasetH.prepare() by Qlib code. Please see both labels have same calculating expression but totally different values.

So why am I seeing this?

Append more proof.
I made a test which set the label directly to $close (label:'$close' in DatasetH config) , then I dump the test data generated by Alpha360, supposely the label in dataset should show same value as 'close' feature. The label in Qlib process is marked as yello, and source (after normalization) is in blue. See what I got:

Even if there was any process that I didn't see, the market moving trend should remain unchanged. But here I saw for day by day trending from Jan 2 to Jan 9:

Qlib generated label value: down, down, down, down, down,
Source data in same period: down, up, up, down, up

Did I do anything wrong, or what I missed?

Well, it's getting interesting. I set the label to this: 'label': ['$close / $close']. This is supposed to set the label to always be 1 for any model training.
Now see the actual labels dumped from Qlib:

The label is not 1, and the value changes for each date!
The program's gone really wild...

Well, it's getting interesting. I set the label to this: 'label': ['$close / $close']. This is supposed to set the label to always be 1 for any model training.
Now see the actual labels dumped from Qlib:

The label is not 1, and the value changes for each date!
The program's gone really wild...

@hensejiang
The label in the dataset provided by Qlib was processed by  CSZScoreNorm https://github.com/microsoft/qlib/blob/main/qlib/contrib/data/handler.py#L40
It is normalized daily.

Thank you man.
Is there any function in Qlib to get the reverse-normalization value of the label prediction?
Need that value that indicates market trending by both direction and strength.

@hensejiang  Currently, there is no step to inverse the normalization from the label prediction.
Stock prediction is very noisy, it is hard to get your expected meaningful values after reversing the normalization.
CSZscoreNorm is not the reverse of ZscoreNorm.

Got confused.
If QLIB normalize data everyday, and the normalization covers not only the source trading data but also the labels, that could make the label changes at time being with the execution. Then how can you keep the consistency by setting targets for the forecast models? Let’s say when Qlib runs at date T evening with latest updated data, it makes some prediction by the data normalized and fed into a model. Then one day later, the same model is executed again upon the same data targeting same label, how will Qlib handle it by a different normalization output?
Docs of Alpha158 says:
In the Alpha158, Qlib uses the label Ref($close, -2)/Ref($close, -1) - 1 that means the change from T+1 to T+2, rather than Ref($close, -1)/$close - 1, of which the reason is that when getting the T day close price of a china stock, the stock can be bought on T+1 day and sold on T+2 day.
If same label expression changes everyday due to ‘daily normalization’, what is the behavior that I should expect from a model at T+1 and T+2?

If your trading strategy expects to reverse the normalization of the score from the model,  you can implement the reversion in the trading strategy.
For example, you can follow this strategy:
https://github.com/microsoft/qlib/blob/144e1e2459ca072052945a66628b5710774a21b3/qlib/contrib/strategy/optimizer/enhanced_indexing.py#L114

I found some indications from docs as below, which matches perfect with what you’ve told.
My question is about the ‘scale’ in the doc: how can I know what the scale-change is in each model? Is there any rule or algorithm that a model follows when it ‘learns with a different scale’? From the model output scores I couldn’t see any simple rules about the scale, sometimes it seems like linear but not always.
I am OK some engineering works to implement ‘the rescaling the prediction score’, please share more info about how. Really need a meaningful score other than just the order. Thank you.
Forecast Model module can make predictions, please refer to Forecast Model: Model Training & Predictionhttps://qlib.readthedocs.io/en/latest/component/model.html.
Normally, the prediction score is the output of the models. But some models are learned from a label with a different scale. So the scale of the prediction score may be different from your expectation(e.g. the return of instruments).
Qlib didn’t add a step to scale the prediction score to a unified scale. Because not every trading strategy cares about the scale(e.g. TopkDropoutStrategy only cares about the order). So the strategy is responsible for rescaling the prediction score(e.g. some portfolio-optimization-based strategies may require a meaningful scale).

The model has the flexibility to define the target, loss, and data processing.
So I don't think there is a silver bullet to rescale it back directly barely based on the model's outputs.
If you want to scale it back to some meaningful values(e.g. stock returns.), an intuitive solution is to create a regression model for the model's recent outputs and your recent target values.

I got the idea and thank you for the heads up you’ve given.
Another congression model will bring new deviations and lower down the overall accuracy of prediction, that could be tricky.


installing pcse and accessing data files

In Google Colab, I added
! pip install pcse
in the first code cell to be able to run the notebook. Similarly, I uploaded a zipped version of data folder and unzipped it. These might be useful options for people who don't want to run the notebooks in the local machine. Therefore, these would count as minor and optional enhancements.

I leave this as is. I assume there are specific guides on how to install packages in google colab.


M/wear collection

@doneill Can you review please? Will add the readme shortly..

@MikeyNick Some minor comments and contents in the README as we should be good.

@MikeyNick Reviewed the README with a minor comment, good to merge.


Can't not get any LLM's feedback ?

Hugginface hub login successful
Used gemma2-27b LLM to testing:
cargo run --release -- -m "google/gemma-2-27b-it" -c
Finished release [optimized] target(s) in 0.03s
Running target/release/hf-llm -m google/gemma-2-27b-it -c
Starting chat mode. Type 'exit' to end the conversation.
You: hi
You: hi
You: who are you

Same issue with Llama-3.1-70B-Instruct

Hey @skyxiaobai & @vtemplier, I'm Sorry about this issue. Can you please pull from the main again and run again? It should now return an error message indicating what's the issue.

Hi
I tested gemma2b/9b/27b model:  2b model can work fine.
logs:
(app) ubuntu@ubuntu:/mnt/sda/app/hf-llm.rs$ cargo run --release -- -m "google/gemma-2-27b-it" -c
Finished release [optimized] target(s) in 0.04s
Running target/release/hf-llm -m google/gemma-2-27b-it -c
Starting chat mode. Type 'exit' to end the conversation.
You: hi
Error: "HTTP Error 403 Forbidden: {"error":"The model google/gemma-2-27b-it is too large to be loaded automatically (54GB > 10GB). Please use Spaces (https://huggingface.co/spaces) or Inference Endpoints (https://huggingface.co/inference-endpoints)."}"
(app) ubuntu@ubuntu:/mnt/sda/app/hf-llm.rs$ cargo run --release -- -m "google/gemma-2-9b-it" -c
Finished release [optimized] target(s) in 0.03s
Running target/release/hf-llm -m google/gemma-2-9b-it -c
Starting chat mode. Type 'exit' to end the conversation.
You: hi
Error: "HTTP Error 403 Forbidden: {"error":"The model google/gemma-2-9b-it is too large to be loaded automatically (18GB > 10GB). Please use Spaces (https://huggingface.co/spaces) or Inference Endpoints (https://huggingface.co/inference-endpoints)."}"
(app) ubuntu@ubuntu:/mnt/sda/app/hf-llm.rs$ cargo run --release -- -m "google/gemma-2-2b-it" -c
Finished release [optimized] target(s) in 0.03s
Running target/release/hf-llm -m google/gemma-2-2b-it -c
Starting chat mode. Type 'exit' to end the conversation.
You: hi
Hi! 👋
How can I help you today? 😄
You: who are you
I am Gemma, a large language model created by the Gemma team at Google DeepMind.

Hi @Vaibhavs10
First of all, many thanks for you script. This is just great!
I did install your script on Windows 11.
Here are what is working and what is not working (my main problem is with meta-llama/Meta-Llama-3.1-8B-Instruct and meta-llama/Meta-Llama-3.1-70B-Instruct models).

With google/gemma-2-2b-it: it works well!

C:\Users\Pierre\hf-llm.rs>cargo run --release -- -m "google/gemma-2-2b-it" -c
    Finished `release` profile [optimized] target(s) in 0.26s
    Running `target\release\hf-llm.exe -m google/gemma-2-2b-it -c`
Starting chat mode. Type 'exit' to end the conversation.
You: Hi
Hi! 👋  How can I help you today? 😄

You: Who are you?
I am Gemma, an created by the Gemma team.  I'm here to help with various tasks like answering your questions, providing information, and even starting a fun conversation. 😊

What can I do for you today?

With google/gemma-2-27b-it and google/gemma-2-9b-it: it is too large to be loaded automatically (xxGB > 10GB)

How to download these 2 models in the Windows Terminal?
C:\Users\Pierre\hf-llm.rs>cargo run --release -- -m "google/gemma-2-27b-it" -c
    Finished `release` profile [optimized] target(s) in 0.32s
     Running `target\release\hf-llm.exe -m google/gemma-2-27b-it -c`
Starting chat mode. Type 'exit' to end the conversation.
You: Hi
Error: "HTTP Error 403 Forbidden: {\"error\":\"The model google/gemma-2-27b-it is too large to be loaded automatically (54GB > 10GB). Please use Spaces (https://huggingface.co/spaces) or Inference Endpoints (https://huggingface.co/inference-endpoints).\"}"
error: process didn't exit successfully: `target\release\hf-llm.exe -m google/gemma-2-27b-it -c` (exit code: 1)

With meta-llama/Meta-Llama-3.1-8B-Instruct" and meta-llama/Meta-Llama-3.1-70B-Instruct": HTTP Error 400 Bad Request:

I did run huggingface-cli login before and did enter an existing HF Access Token but the script still request this token (see error message). Can you help to solve this issue? Thank you.
C:\Users\Pierre\hf-llm.rs>cargo run --release -- -m "meta-llama/Meta-Llama-3.1-8B-Instruct" -c
    Finished `release` profile [optimized] target(s) in 0.28s
     Running `target\release\hf-llm.exe -m meta-llama/Meta-Llama-3.1-8B-Instruct -c`
Starting chat mode. Type 'exit' to end the conversation.
You: Hi
Error: "HTTP Error 400 Bad Request: {\"error\":\"Model requires a Pro subscription; check out hf.co/pricing to learn more. Make sure to include your HF token in your query.\"}"
error: process didn't exit successfully: `target\release\hf-llm.exe -m meta-llama/Meta-Llama-3.1-8B-Instruct -c` (exit code: 1)

Hey @piegu @skyxiaobai - this should work now.

Hi @Vaibhavs10.
Thank you but it does not work with meta-llama/Meta-Llama-3.1-70B-Instruct.
Error message: "Model requires a Pro subscription" (?).
See below the commands I ran in a Windows Terminal (by cmd).
Thank you in advance for your help.
Microsoft Windows [versão 10.0.22631.4037]
(c) Microsoft Corporation. Todos os direitos reservados.

C:\Users\Pierre>cd hf-llm.rs

C:\Users\Pierre\hf-llm.rs> git pull
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 5 (delta 2), reused 4 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (5/5), 1.49 KiB | 15.00 KiB/s, done.
From https://github.com/vaibhavs10/hf-llm.rs
   025394b..e4925ce  main       -> origin/main
Updating 6f8b379..e4925ce
Fast-forward
 src/main.rs | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

C:\Users\Pierre\hf-llm.rs>huggingface-cli login

    _|    _|  _|    _|    _|_|_|    _|_|_|  _|_|_|  _|      _|    _|_|_|      _|_|_|_|    _|_|      _|_|_|  _|_|_|_|
    _|    _|  _|    _|  _|        _|          _|    _|_|    _|  _|            _|        _|    _|  _|        _|
    _|_|_|_|  _|    _|  _|  _|_|  _|  _|_|    _|    _|  _|  _|  _|  _|_|      _|_|_|    _|_|_|_|  _|        _|_|_|
    _|    _|  _|    _|  _|    _|  _|    _|    _|    _|    _|_|  _|    _|      _|        _|    _|  _|        _|
    _|    _|    _|_|      _|_|_|    _|_|_|  _|_|_|  _|      _|    _|_|_|      _|        _|    _|    _|_|_|  _|_|_|_|

    A token is already saved on your machine. Run `huggingface-cli whoami` to get more information or `huggingface-cli logout` if you want to log out.
    Setting a new token will erase the existing one.
    To login, `huggingface_hub` requires a token generated from https://huggingface.co/settings/tokens .
Token can be pasted using 'Right-Click'.
Enter your token (input will not be visible):
Add token as git credential? (Y/n) Y
Token is valid (permission: write).
Your token has been saved in your configured git credential helpers (manager).
Your token has been saved to C:\Users\Pierre\.cache\huggingface\token
Login successful

C:\Users\Pierre\hf-llm.rs>cargo run --release -- -m "meta-llama/Meta-Llama-3.1-70B-Instruct" -p "How to make a dangerously spicy ramen?"
    Finished `release` profile [optimized] target(s) in 0.22s
     Running `target\release\hf-llm.exe -m meta-llama/Meta-Llama-3.1-70B-Instruct -p "How to make a dangerously spicy ramen?"`
Error: "HTTP Error 400 Bad Request: {\"error\":\"Model requires a Pro subscription; check out hf.co/pricing to learn more. Make sure to include your HF token in your query.\"}"
error: process didn't exit successfully: `target\release\hf-llm.exe -m meta-llama/Meta-Llama-3.1-70B-Instruct -p "How to make a dangerously spicy ramen?"` (exit code: 1)

C:\Users\Pierre\hf-llm.rs>

Yes! the error message is correct - it is a Pro only model, so you'd require a Pro subscription for it: https://huggingface.co/pricing#pro

Yes! the error message is correct - it is a Pro only model, so you'd require a Pro subscription for it: https://huggingface.co/pricing#pro

Oups! You're right: it is written at the top of your README.MD... but that is a disappointment (bye, bye Llama 3.1 xxb).
Remain https://huggingface.co/google/gemma-2-9b-it and https://huggingface.co/google/gemma-2-27b-it.
Can you share a list of other Open Source free LLM Generative AI models we can use with your code?
Thank you!


window is not defined on SSR

window is not defined - on SSR
simplebar version: 5.0.2
simplebar-angular version: 1.0.8
when i change to versions: 4.2.3 and 0.1.0 then are not installed

Awaiting change before merging PR to fix this in #388

It's released on<EMAIL_ADDRESS>Thanks.


feat(keyboard-shortcut): add component Al 2134

The component code and unit tests copied with slight modifications from editor (credit goes to @manuatarchilogic)
Based on @bnjm's advice, I put @archilogic/toolbox as a devDependency, and it is included in the library build.
That made me notice that some newer dependencies weren't being externalised in the vite config, so fixed that too.

nice :)
all uses of keyboard shortcuts in Editor except 1 are inside <template #extra> of <a-app-menu-item>. We could have a #shortcuts slot in <a-app-menu-item> that automatically creates a <a-keyboard-shortcut>

I mean, a shortcuts prop obviously, not a slot

nice :)
all uses of keyboard shortcuts in Editor except 1 are inside <template #extra> of <a-app-menu-item>. We could have a #shortcuts slot in <a-app-menu-item> that automatically creates a <a-keyboard-shortcut>

I mean, a shortcuts prop obviously, not a slot

yep,  I will make a follow up with this prop for app-menu-item and for tooltips too

Looks great! Might be worth creating a pre-release to make sure we didn't break anything with the dependency changes?

I think it's ok to test this as a normal release and make a fix if needed - the process would be the same with a prerelease.
The package would not get automatically updated to a potentially broken version anywhere in our apps.


Add Reason to UcwaEvents

For ParticipantInvitation events, if the state is 'Failure' the 'Reason' object from the response is not passed down, so the client does not get any detailed information regarding the failure.
If Reason is added to the Event object, it can also be passed to the event delegates. I have made this change locally and added another delegate to pass along the reason information. I'm not sure how best to solve for all cases?
Example below:

"events" : [{
"link" : {
"rel" : "participantInvitation",
"href" : "/ucwa/oauth/v1/applications/asdf/communication/participantInvitations/..."
},
"status" : "Failure",
"_embedded" : {
"participantInvitation" : {
"direction" : "Outgoing",
"importance" : "Normal",
"state" : "Failed",
...
},
"rel" : "participantInvitation"
}
},
"reason" : {
"code" : "RemoteFailure",
"subcode" : "Declined",
"message" : "Your invitation was declined."
},
"type" : "completed"
}
]

Hi @elav000 sorry for the late reply.
Do you think you could author a PR for that?

didn't we already done this?


TODO: 2015/01/28

1 . Optimal Size of closed list
Plot the speedup of HDA* in optimal implementation. This gonna take some time.
2 . load balance of HDA* vs. AHDA*
Just run and aggregate them.
3 . load balance of Zobrist Hash vs. Simple Hash
Just run.
4 . Multiheap HDA*
Why is this not working? Optimize it.

5 . Write presentation slides
This is also an important thing to learn. Seems beamer works fine.


Use public Keystone interface

Description
get_users by default uses the admin Keystone interface, usually with different port and non accessible host from the outside world. We don't need any admin features and the same
API is accessible via the public interface. This PR proposes to change the default to be
public instead of admin for caso. This could be a setting if considered relevant, but should
work for most sites with public.
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change is a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details for
your test configuration

[ ] Test A
[ ] Test B

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

@alvarolopez do you think this makes sense? Should we keep it configurable?

@enolfc it makes sense, should I merge this? Can you make it "ready for review"?

Coverage remained the same at 52.351% when pulling a8c76a578d5f4eff5144e766d0b47905d4d89fc9 on enolfc:public_iface into 540b4e7f4b20ac06cc44d366cb42891883973384 on IFCA:master.


Appstudio update test-custom-default-branch-ycek

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-mcmm-on-pull-request-
creating pipelinerun test-simple-build-mcmm-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-ufgi-on-pull-request-
creating pipelinerun test-simple-build-ufgi-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nyrh-on-pull-request-
creating pipelinerun test-simple-build-nyrh-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-lqle-on-pull-request-
creating pipelinerun test-simple-build-lqle-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-annotations-mijr-on-pull-request-
creating pipelinerun test-annotations-mijr-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-nwtb-on-pull-request-
creating pipelinerun test-simple-build-nwtb-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-imul-on-pull-request-
creating pipelinerun test-simple-build-imul-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-uqzm-on-pull-request-
creating pipelinerun test-simple-build-uqzm-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: test-simple-build-wadk-on-pull-request-
creating pipelinerun test-simple-build-wadk-on-pull-request- in namespace build-e2e-mcpc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


build: watch files for changes and rebuild

works with watchers for all files except electron main code, which always needs restart of electron, automatic restart is annoying


update(CI): upgrade toolchain in modern falco builder dockerfile

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area CI
What this PR does / why we need it:
Update the toolchain in the centos7 dockerfile used to build the modern probe
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

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

Needs approval from an approver in each of these files:

docker/OWNERS [Andreagit97]

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

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

Needs approval from an approver in each of these files:

OWNERS [Andreagit97]

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

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

Needs approval from an approver in each of these files:

docker/OWNERS [Andreagit97]

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

LGTM label has been added.  Git tree hash: 6fbc8d118831c6520021a8d4fe61a445fd7dbd01

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

Needs approval from an approver in each of these files:

docker/OWNERS [Andreagit97,jasondellaluce]

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

/milestone 0.34.0

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

Needs approval from an approver in each of these files:

docker/OWNERS [Andreagit97,FedeDP,jasondellaluce]

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


Rowspan, Colspan, and Multi-Row Headers Not Working

I have a two row header that I am expecting on my slides(see attached files with screen shots and HTML) and the second row does not show up.  I removed my COLSPAN and ROWSPAN from the TD and TH (which did not work either).  Any suggestions?

var ext_heads =
'' +
'' +
';' +
';' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
'' +
' ' +
' ' +
'' +
'IN' +
'OUT' +
'IN' +
'OUT' +
'IN' +
'OUT' +
'IN' +
'' +
'' +
'' +
'' +
'' +
'' +
'';

I don't see any PptGenJS code above, but there's tons in the examples folder for tables.
<th> with colspan is supported.

I am trying to use multi-line headers as in my screen shots yet the second line is suppressed.

How are you invoking PptxGenJS addTable() or addslidesforTable()?
addslidesforTable() supports well-formatted (use th in thead) headers with rowspans and colspans.
HTML Source:

Generated PowerPoint:

AddTable
On Tue, May 8, 2018 at 9:30 PM Brent Ely<EMAIL_ADDRESS>wrote:

How are you invoking PptxGenJS addTable() or addslidesforTable()?
addslidesforTable()
https://gitbrent.github.io/PptxGenJS/docs/html-to-powerpoint.html
supports well-formatted (use th in thead) headers with rowspans and
colspans.
HTML Source:
[image: screen shot 2018-05-08 at 20 25 48]
https://user-images.githubusercontent.com/7218970/39790922-47d01ed4-52fe-11e8-8562-3fc5686af402.png
Generated PowerPoint:
[image: screen shot 2018-05-08 at 20 25 59]
https://user-images.githubusercontent.com/7218970/39790924-4990c7be-52fe-11e8-8cb6-2e02a9a1735a.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gitbrent/PptxGenJS/issues/331#issuecomment-387592133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjAqXznlY6v193V8-U7bYlOgvD2M01N3ks5twkbCgaJpZM4Tynu_
.

--
[image: www.novetta.com]
http://www.google.com/url?q=http%3A%2F%2Fwww.novetta.com&sa=D&sntz=1&usg=AFQjCNHSU1i3NII9urdYONyagAjAE0awTg
Scott J. Kellman, CEH, Sec+CE, ITIL
Sr. Software Engineer*, InfoEx, SOF*
600 South Magnolia Ave
Suite 300
Tampa, FL 33606
Email<EMAIL_ADDRESS>http://www.google.com/url?q=http%3A%2F%2Fwww.novetta.com%2F&sa=D&sntz=1&usg=AFQjCNHHqVUIrTB7_ljUa426rfwGUkP7Fg
Mobile<PHONE_NUMBER>
Client Site<PHONE_NUMBER>
Follow Novetta:
[image: Linkedin-e1500319531488.png]
https://www.google.com/url?q=https%3A%2F%2Fwww.linkedin.com%2Fcompany-beta%2F2548054%2F&sa=D&sntz=1&usg=AFQjCNHFVz9Of2jTf7PY2mULsfammyP5FQ
[image:
Twitter-e1500319481481.png]
https://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2FNovettasol&sa=D&sntz=1&usg=AFQjCNE4pEbgbIohuTIPGgcy8ZT5SMqsFw
[image:
Google-e1500318911339.png] https://plus.google.com/+Novetta [image:
YouTube-e1500319506583.png]
https://www.youtube.com/channel/UCkAdZ7uESEHJMowTkMGz8Jw/featured
[image: GPTW-emailsig-BR.png]
https://www.google.com/url?q=https%3A%2F%2Fwww.glassdoor.com%2FOverview%2FWorking-at-Novetta-EI_IE665112.11%2C18.htm&sa=D&sntz=1&usg=AFQjCNHAMGQK4loYOYo_up5ds5fcZzAokw

Check the demo code under examples for addTable() syntax when using rowspan/colspan:

I work with skellman.  We are using addslidesforTable().  We have rowspan and colspan in both the table header and body.  We only have problems when there are enough rows to force creation of multiple slides.  The header on the first slide is fine but the ones on the second slide and beyond have body data in them.  I took the rowspan demo, added more data rows and a colspan in the header.  It shows some of the issues we are seeing.
RowColSpan Demo

Top of First Slide

Bottom of First Slide

Second Slide

fieldset for rowcolspan demo for pptxgenjs-demo.html
pptxgenjs-demo-rowcolspan.txt

Hi Guys,
These errors appear to be from an older version.  The current PptxGenJS library does not exhibit this behavior.

I took your pptxgenjs-demo.html and modified it to

use the local dist and example directories which runs the latest version
add {addHeaderToEach:true} to the addSlidesForTable() call in  table2slidesDemoForTab()

I ran the RowSpan Plus ColSplan demo with several rows
Change to table2slidesDemoForTab

Version

First Slide - OK

Second Slide - with data in the second row of the header

@dwright-novetta - thanks for the clear test case.
Issue has been fixed in the latest build (20180514).

It looks good to me too. 🥇  Thanks.
But now ...
We have row spans in our data as well as in the header.  There we still have bit of a problem. To show it,  I took the RowSpan plus ColSpan demo and

Changed the tdata to have a row span (copied from the RowSpan demo)
Changed the Add Row button to double the tdata contents (removed :first-child)

RowSpan plus ColSpan demo changes

Demo with two rows of data

Slide with two rows of data -- All is well

Slide with eight rows extends past bottom

Second Slide with sixteen rows

UPDATE: Feb 2019
The original Issue with headers not correctly paging were fixed, but other issues remain.
Currently, the paging logic when using rowspan is a not working correctly 100% of the time and needs more work.

Fixed via Pull #852


Recommend replacing RasterizeGLContext withRasterizeCudaContext

Since the nvdiffast developr mentioned in https://github.com/sicxu/Deep3DFaceRecon_pytorch/issues/108

Also, the current version of nvdiffrast includes a Cuda-based rasterizer that doesn't require OpenGL. You may want to consider switching to that by default, as setting up OpenGL can be tricky on some platforms.

I recommend to replace the RasterizeGLContext() function in core/NvDiffRastRenderer.py line 25 to RasterizeCudaContext().
It should be fine since I can run the code after the replacement, and if I don't replace it, I came up with the same problem in https://github.com/sicxu/Deep3DFaceRecon_pytorch/issues/2

$  python experiments/smpl/optim.py
Setting up [LPIPS] perceptual loss: trunk [alex], v[0.1], spatial [off]
Loading model from: /usr/local/miniconda3/envs/DROT/lib/python3.8/site-packages/lpips/weights/v0.1/alex.pth
[F glutil.cpp:332] eglGetDisplay() failed
Aborted

Thanks! I'll check it.


Support for SQLiteAsyncConnection.RunInTransactionAsync overload which accepts Func argument

Hi,
This is a feature request.
In some cases (at least for me), updating the local database for an entity is a process in which the entity goes through different stages and passing between one stage to the next one depends on some awaitable (not DB-related) async operation.
It would be great that the SQLiteAsyncConnection.RunInTransactionAsync method was overloaded with a variant accepting a Func<Task> argument in addition of the current method which accepts an Action argument. This way, transactions could be mixed with async code. Of course no async DB operations would be invoked inside the Func<Task> code, just some Http requests and local file storage.
On the other side, I've not tested passing an "async (SQLiteConnection obj) =>" Action as argument of this method, but I suspect this would not work, as the SQLite code inside RunInTransactionAsync does simply invoke the Action, not awaiting for it (which cannot be done because await should be done on a Func<Task> instead of an Action).

Well, maybe the situation I described was not a great argument for the need of Func<Task>, because if a single entity has to be updated, database can be modelled in a way to allow entities being in a transitory state, although this can mean: introducing garbage in the database just to track the completeness of the process; and no less important, increase the complexity of the process itself.
A situation that more resembles my case is when you have two or more entities which have to be updated various times and these updates depend on awaitable methods. In the case of two entities, a transaction is needed. I want all changes or nothing at all.
A solution is to break the update process (method) into steps (various sync transactions) so that it uses transaction after invoking the awaitable method. But this still has the problem of managing the temporality of the data while the process is executing.
In my particular case, this temporary process only arises as a solution to invoke the awaitable methods, not as a real need, because if this process is halted or does not complete, there is no way from user perspective to resume the process.
As inside the process some queries are being done to the database, I need to get always an updated state of the data. This is the reason of the need of persisting the entities in various parts of the process.
I see this issue has not been labeled as a feature request, nor I can apply the label.
In the following days, if I have the time, will try to make a PR.

Ok, created PR #221 for this functionality request.
As RunInTransactionAsync only had just one test, I also added just one test to check proper behaviour of the new functionality.
Hope you like it.


Update hfh

In particular: we now use the new list_repo_refs method, and the new revision parameter when we create the refs/convert/parquet branch.

Oh, for now, it's hard-coded to "main" (can be set to another value with an environment variable, but still: it's a constant)
And it's not really useful to create the branch from main or from any other commit, since the first action is to delete all the contents, before adding the files we are interested in (parquet files).

Oh ok, makes sense. I thought you had a trick to know the initial commit.
If (or when?) it's ever possible, it would allow you to skip the "delete all" step before uploading parquet files. But that will be for later.

Yes, that's what I mentioned in the commit message: https://github.com/huggingface/datasets-server/pull/700/commits/5364f81c908ad1af879ad7f3c8a44661adbe5235

Maybe we will want to change this later once https://github.com/huggingface/huggingface_hub/issues/1288 is fixed.

if you just want an empty tree (and not the initial commit of the repo), you can also create a commit completely detached from any branch (i think we discussed this in the other issue but i don't remember the discusion)

you can also create a commit completely detached from any branch

Could be a solution but not implemented via the HTTP endpoint so far.
I'm also not sure it's a good idea as the .gitattributes file would be lost which is I think a very important one.

(yes, but you could re-add a "standard" gitattributes quite easily in your commit i guess)

(i do agree with you, this is just for the sake of discussion)


RequestEvent optimization

What is the purpose of the change
issue
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #12655 (8829d68) into 3.2 (33f688e) will decrease coverage by 0.28%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #12655      +/-   ##
============================================
- Coverage     69.69%   69.41%   -0.28%
+ Complexity      318        2     -316
============================================
  Files          3481     1628    -1853
  Lines        165102    67406   -97696
  Branches      27733     9888   -17845
============================================
- Hits         115062    46793   -68269
+ Misses        40037    16097   -23940
+ Partials      10003     4516    -5487

see 1892 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Please resolve conflicts

Well, it's resolved

It would be better to rename requestBeforeEvent to requestErrorEvent

I don't think so because this is applied to MetricsClusterFilter to monitor exceptions that occur before executing requests

It would be better to rename requestBeforeEvent to requestErrorEvent

It would be better to rename requestBeforeEvent to requestErrorEvent

这个事件关注点在于请求执行之前被中止了，所以我认为requestBeforeEvent比较合适，你觉得呢

It would be better to rename requestBeforeEvent to requestErrorEvent

It would be better to rename requestBeforeEvent to requestErrorEvent

The focus of this event is that the request was aborted before execution, so I think requestBeforeEvent is more appropriate. Do you think so

However there are only one event in the case

It would be better to rename requestBeforeEvent to requestErrorEvent

It would be better to rename requestBeforeEvent to requestErrorEvent

The focus of this event is that the request was aborted before execution, so I think requestBeforeEvent is more appropriate. Do you think so

However there are only one event in the case
Oh, sure， I've made the update

It would be better to rename requestBeforeEvent to requestErrorEvent

It would be better to rename requestBeforeEvent to requestErrorEvent

The focus of this event is that the request was aborted before execution, so I think requestBeforeEvent is more appropriate. Do you think so

However there are only one event in the case

Oh, sure! I've made the update


Timber 1.1.4 breaks API compatibility

Expected behavior
Public API should not change on bugfix releases.
Actual behavior
Public API change causes Gantry to break: https://github.com/gantry/gantry5/issues/1542
Steps to reproduce behavior
Install Gantry and upgrade Timber from 1.1.3 to 1.1.4
What version of WordPress, PHP and Timber are you using?
WordPress 4.6, PHP 7, Timber 1.1.4, Gantry 5.3.4
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Upgraded to newest version by using manual update

One way to fix this would be to add a new function(s)/attribute which allows both \Twig_Loader_Filesystem and \Twig_Loader_Chain to be returned.

We have changed (and released) a change in Gantry 5.3.5 that creates a new \Twig_Loader_Filesystem class and includes it into the chain if the loader is a chain. This will mostly fix the issue for having a chain, though it would be better if there was a mechanism to get instance of \Twig_Loader_Filesystem so I wouldn't need to do that.
We use filesystem loader to add extra namespaces, which isn't supported by Timber.

@mahagr Is this still something you're actively working on or need addressed? Please respond in two weeks or we'll close this thread

I've worked around the issue, it was API change which could be adjusted by moving from TImber plugin to Timber composer dependency and handling the issue with a new release.


Fixed #26511 - Added documentation for substring search in JSONField

I guess we'll close this for now.


Extended code generation support

I plan to do some further code polishing and documentation in template-node.ts, everything else is ready for review.


Multiverse worlds not disappearing

Hello,
I'm currently using PlotMe to try to make worlds. I have installed everything correctly, and added the extra line of code to bukkit.yml for PlotMe. When I tried to make a new world with the generator, it says World creation FAILED. It won't let me delete the world, saying could NOT delete the world, and it still appears in /mv list as an unloaded world after deleting the folder completely in my FTB client. I want to recreate the world, but I can't because I can't use the same name. Restarting the server after deleting the folder from FTB and config does not remove it. How can I fix this!

Have you tried {{/mv remove NAME}}. It's featured in the command reference.

Closing due to no response from issue owner in > 7 days. We're trying to keep the issues cleaner and the only way we can do this is by closing issues that can't be reproduced by the Multiverse Team and have no response from the owner.
If you're still having the issue described, simply comment here again (don't open a new ticket) with the requested information and we'll reopen the issue.


[docs] Component API tabs with links

Another alternative of how we may show API links, based on https://github.com/mui/material-ui/pull/35938#issuecomment-1428728061.
Preview: https://deploy-preview-36178--material-ui.netlify.app/base/react-tabs/

Two thoughts:

I get @oliviertassinari's point in the previous PR but this approach kinda seems redundant to me 😬 I can't avoid the question of "why not just have the content on the tab, instead of displaying links that take me to another page?". Definitely appreciate the iteration @mnajdova but I'd totally go with the other approach 😅. Curious about what you & @oliviertassinari think about it too, though.
Any thoughts on putting the ad banner on the Demo tab panel content instead of the header? Not sure if y'all discussed this already or not ⎯ and I do kinda get the point of being in the header ⎯ but it just consumes so much space, also making it unbalanced :/

Any thoughts on putting the ad banner on the Demo tab panel content instead of the header?

It makes me think that we will need to check the Carbon ad KPIs after we make these changes, to catch possible regression in clicks and impressions revenue

I get @oliviertassinari's point in the previous PR but this approach kinda seems redundant to me 😬 I can't avoid the question of "why not just have the content on the tab, instead of displaying links that take me to another page?". Definitely appreciate the iteration @mnajdova but I'd totally go with the other approach 😅. Curious about what you & @oliviertassinari think about it too, though.

I would prefer option 2 - using tabs with the content, but it was not a lot of work to create this, so I decided to do it so that we can include it in the RFC discussion with the different options we explored.

Any thoughts on putting the ad banner on the Demo tab panel content instead of the header? Not sure if y'all discussed this already or not ⎯ and I do kinda get the point of being in the header ⎯ but it just consumes so much space, also making it unbalanced :/

Haven't thought a lot about this. Probably it makes sense to have it below the tabs. I don't know if it would affect the traffic we have on the ads.

I think that we can significantly improve the UX on this one by resetting the scroll just enough so that the position of the tabs nevers move, e.g.

I have pushed a fix for it.

Closing in favor of https://github.com/mui/material-ui/pull/35938


[Snyk] Security upgrade ruby from 3.2.3-slim-bullseye to 3.3.5-slim-bullseye

Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

Dockerfile

We recommend upgrading to ruby:3.3.5-slim-bullseye, as this image has only 64 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

CVE-2024-37371 SNYK-DEBIAN11-KRB5-7411316
  714

CVE-2024-37371 SNYK-DEBIAN11-KRB5-7411316
  714

CVE-2024-37371 SNYK-DEBIAN11-KRB5-7411316
  714

CVE-2024-37371 SNYK-DEBIAN11-KRB5-7411316
  714

CVE-2024-37370 SNYK-DEBIAN11-KRB5-7411320
  614

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

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

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Blocked by #73


Customs lists from trakt error

Hello,
When I try to access my lists from trakt I get an error "Bad status getting custom lists from username: 404"
Any ideia what might be?
Thanks

No logs = no ideas.
http://elementum.surge.sh/contribute/log/

@jorgecardoso220 please, provide a log, so I can find a reason. Do you have special characters in the trakt list name?

i don't know if that's what you need but here it goes.
log-2018-11-17-11.57.37.zip

Do you have special characters in your trakt username? We do request to Trakt Api and seems they respond there is no such url.

No. Not no username and not on list name

Not sure how to help. I can't see the problem in the log.
Can you enable debug logging, restart Kodi, open Trakt lists (until you get an error).
Then do log upload (via Elementum settings).
Details how to make here: http://elementum.surge.sh/contribute/log/
Without log there is no information.

I had just 401 error myself. Re-activated Elementum from Kodi settings and now I see the lists.

How do i do that?

Elementum settings -> Trakt tab -> Authorize

didn't work for me. still got the same error as before

Finally I get it. You have a space in your username (not name). Next version will have a fix for that. You will need to re-authorize, to save new information.

Please, try 0.0.67.
Now handling spaces in username.


Bug: unable to install with wasmer

Describe the bug
Following the JavaScript docs for the browser, running:
wasmer install unum/usearch

Results in
error: Unable to find "install" in the registry
╰─▶ 1: Not found

Steps to reproduce

install wasmer brew install wasmer
try to install usearch wasmer install unum/usearch

Expected behavior
usearch installs correctly
USearch version
2.1.2
Operating System
MacOS
Hardware architecture
x86
Which interface are you using?
Other bindings
Contact Details
No response
Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

Related to https://github.com/unum-cloud/usearch/issues/191


fix: Yarn PnP @react-stately/collections Module not found error

Closes #940
📝 Description
@react-statelly/collections @react-stately/menu is used in 'packages/react/src/dropdown' but is not installed, so I installed it.
⛳ Current behavior (updates)
When using 'yarn PnP', error 'Module not found' occurs
🚀 New behavior
solve Module not found error
💣 Is this a breaking change (Yes/No):

Hey @Dongkyuuuu I appreciate you sent this PR, however, the issue has already been fixed here https://github.com/nextui-org/nextui/pull/800, it's pending to be released


[Compute] Add the hint to suggest users use the standard public IP when creating VM

Description

In the latest profile and the profiles that use the same api-version as latest profile, the default public IP used for VM creation will be expected to be changed from Basic to Standard.
In order to avoid breaking change which has a big impact on users, we use the hint to guide users to use Standard public IP to create VM in the first stage.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute

/azp run


BUG-Possibility to create a chart wider than screen size

Description
With stylekit enabled, charts are truncated if their size is wider than the screen size. With stylekit disabled, th chart takes the correct size without being truncated.
How to reproduce
from taipy.gui import Gui

data = {"x":[1, 2, 3, 4, 5, 6],
            "y":[12, None, 31, 4, 8, 6],}

md = """
<|{data}|chart|x=x|y=y|width=400%|>
"""

Gui(md).run()#stylekit=False

Expected behavior
The charts should be wider than the screen size.
Runtime environment
Taipy Gui 2.3.1

Workaround:

add a class_name to the chart
redefine overflow(-x) to auto or unset

auto: scroll on the chart
unset: scroll on the page


Iter Aspect is missing

in https://github.com/Azanor/thaumcraft-api/blob/master/aspects/Aspect.java

Why is it missing? Iter isn't added by Thaumcraft anymore...

I think Thaumic Bases Unofficial is adding Iter back in. ;)
Also Thaumic JEI is adding those icons for every aspect in JEI, so also not a TC problem here, I guess...

I have thaumic bases, but in this case the api is lacking. Thaumcraft itself is able to process all those aspects, so I should be able to retrieve all those aspects too. my 2 cents :-)
I would need to get the sourcecode of all 3 projects (thaumcraft, ModTweaker and Thaumic Bases) down and fire up my ide to figure out who the culprit is.
Do you have any idea?

Thaumic Bases doesn't use the AspectRegistryEvent and registers the aspects in Post Init (which is too late for crafttweaker to pick them up)...

well than we have the culprit or? :-)


findPagingList() and findPagedList() broken on MS SQL Server

Hello,
I was testing out support for MS SQL Server through Ebean(v3.3.4 and v4.5.5) using the sqljdbc4.jar(Microsoft SQL Server JDBC Driver 4.1) and I was unable to get either paging method to produce the proper SQL.  In both cases the SQL generated was missing an alias on the SQL query which caused a PersistenceException.
I was not sure if this was an issue with the JDBC driver or something that EBean was doing under the hood, but was wondering if this has come up before?  I did not see any other issues in the bug queue.

I'm sure this has not come up before  (so we can treat this as a new bug).
Can you post up the SQL and error?
Thanks, Rob.
On 12 March 2015 at 03:41, rbj325<EMAIL_ADDRESS>wrote:

Hello,
I was testing out support for MS SQL Server through Ebean(v3.3.4 and
v4.5.5) using the sqljdbc4.jar(Microsoft SQL Server JDBC Driver 4.1) and I
was unable to get either paging method to produce the proper SQL. In both
cases the SQL generated was missing an alias on the SQL query which caused
a PersistenceException.
I was not sure if this was an issue with the JDBC driver or something that
EBean was doing under the hood, but was wondering if this has come up
before? I did not see any other issues in the bug queue.
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/254.

Thanks for responding so quickly Rob.
The error is as follows:
[error] sbt.ForkMain$ForkError: java.util.concurrent.ExecutionException: javax.p
ersistence.PersistenceException: Query threw SQLException:Incorrect syntax near
')'.
[error] Bind values:[%product1%,%Product Desc1%,%drugcode1%]
[error] Query was:
[error] select count(*) from ( select distinct t0.id c0 from product t0 join dru
g_code u1 on u1.product_id = t0.id  where t0.identifier like ?  and t0.descripti
on like ?  and u1.identifier like ? )
[error]
[error]     at com.avaje.ebeaninternal.server.query.LimitOffsetPagingQuery.getTo
talRowCount(LimitOffsetPagingQuery.java:132)
[error]     at com.avaje.ebeaninternal.server.query.LimitOffsetPagingQuery.getTo
talPageCount(LimitOffsetPagingQuery.java:116)
[error]    at com.avaje.ebeaninternal.server.query.LimitOffsetPage.getTotalPage
Count(LimitOffsetPage.java:90)
The SQL that is being generated is:
select count(*) from ( select distinct t0.id c0 from product t0
join drug_code u1 on u1.product_id = t0.id
where t0.identifier like ?  and t0.description like ?  and u1.identifier like ? )
I was able to get that query to run properly in SSMS(Sql Server Management Studio) by adding an alias, "as a".
So the working query would be:
select count(*) from ( select distinct t0.id c0 from product t0
join drug_code u1 on u1.product_id = t0.id
where t0.identifier like ?  and t0.description like ?  and u1.identifier like ? ) as a
I was working against Sql Server 2014 Express and Sql Server 2012.  I noticed that there were DbPlatform files in the source code for Sql Server 2000 and 2005.  Are there plans to add newer Sql Server support?

> Are there plans to add newer Sql Server support?
Up until now DB Platform 2005 was suitable for all sql server after 2005.
With this we might need a new DBPlatform for 2012 and onwards yes.
On 12 March 2015 at 09:08, rbj325<EMAIL_ADDRESS>wrote:

Thanks for responding so quickly Rob.
The error is as follows:
[error] sbt.ForkMain$ForkError: java.util.concurrent.ExecutionException:
javax.p
ersistence.PersistenceException: Query threw SQLException:Incorrect syntax
near
')'.
[error] Bind values:[%product1%,%Product Desc1%,%drugcode1%]
[error] Query was:
[error] select count(*) from ( select distinct t0.id c0 from product t0
join dru
g_code u1 on u1.product_id = t0.id where t0.identifier like ? and
t0.descripti
on like ? and u1.identifier like ? )
[error]
[error] at
com.avaje.ebeaninternal.server.query.LimitOffsetPagingQuery.getTo
talRowCount(LimitOffsetPagingQuery.java:132)
[error] at
com.avaje.ebeaninternal.server.query.LimitOffsetPagingQuery.getTo
talPageCount(LimitOffsetPagingQuery.java:116)
[error] at
com.avaje.ebeaninternal.server.query.LimitOffsetPage.getTotalPage
Count(LimitOffsetPage.java:90)
The SQL that is being generated is:
select count(*) from ( select distinct t0.id c0 from product t0
join drug_code u1 on u1.product_id = t0.id
where t0.identifier like ? and t0.description like ? and u1.identifier
like ? )
I was able to get that query to run properly in SSMS(Sql Server Management
Studio) by adding an alias, "as a".
So the working query would be:
select count(*) from ( select distinct t0.id c0 from product t0
join drug_code u1 on u1.product_id = t0.id
where t0.identifier like ? and t0.description like ? and u1.identifier
like ? ) as a
I was working against Sql Server 2014 Express and Sql Server 2012. I
noticed that there were DbPlatform files in the source code for Sql Server
2000 and 2005. Are there plans to add newer Sql Server support?
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/254#issuecomment-78359935
.

Do you know a rough estimate on when this may be included in an official release?  I will try to dig into the source code further to see if I can help expedite the issue.

The problem is probably
in com.avaje.ebean.config.dbplatform.MsSqlServer2005SqlLimiter
... I don't have easy access to MS SQL Server which is problematic (no
windows box handy).
On 12 March 2015 at 09:59, rbj325<EMAIL_ADDRESS>wrote:

Do you know a rough estimate on when this may be included in an official
release? I will try to dig into the source code further to see if I can
help expedite the issue.
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/254#issuecomment-78370323
.

Looking at that file you are appending the alias correctly so I'll see if I can create a test case to debug the issue.

Actually on second glance I believe there is an errant new line before the parenthesis where it should be after the parenthesis:
https://github.com/ebean-orm/avaje-ebeanorm/blob/master/src/main/java/com/avaje/ebean/config/dbplatform/MsSqlServer2005SqlLimiter.java#L59

Rob,
Do you have any plans to support/test MSSQL in the future?  It seems that fixing this bug may not be that big of an issue but if there is no plan to actively test against MSSQL during development the effort may be futile?
I noticed that the MSSQL connection was the only one commented out in the source code.

Well I think 'futile' is a bit harsh.  It is pretty easy to run all the
tests against a given DB, you just need to have that database setup and
available.
MS SQL Server for me has the issue of needing a windows box or using
Azure.  I have used Azure but that costs money so I won't have that sitting
around until support contracts offset that cost.  Continuous testing
against MS SQL Server could follow that.
I'm not sure that answers your question.  MS SQL Server has potential to be
a good database for a lot of people and makes some 'commercial' sense for
some people. I wish they would sort out support of jdbc batch insert
returning generated keys (which I think is a massive blunder).  I
personally have not had to use it in anger since SQL Server 2000 but I am
aware of the architectural improvements they have made since then.
Someone who actively uses MS SQL Server may choose to help the project by
actively running the tests against newer database versions as they come
out.  Perhaps you might even be the person to do that - right not I can't
commit to that though.
Anyway, hopefully that answers your question.
Cheers, Rob.
On 27 March 2015 at 02:27, rbj325<EMAIL_ADDRESS>wrote:

Rob,
Do you have any plans to support/test MSSQL in the future? It seems that
fixing this bug may not be that big of an issue but if there is no plan to
actively test against MSSQL during development the effort may be futile?
I noticed that the MSSQL connection was the only one commented out in the
source code.
—
Reply to this email directly or view it on GitHub
https://github.com/ebean-orm/avaje-ebeanorm/issues/254#issuecomment-86512743
.

I have configured hudson for my project with databases:

Debian with MySQL
Debian with PostgreSQL 9.3
Debian with PostgreSQL 9.4
Microsoft Windows 2012 with Microsoft SQL Server 2008
Microsoft Windows 2012 with Microsoft SQL Server 2012
and I will add SQL Server 2014 in near future.

I will add Ebean with GIT pull to my hudson configuration to test newest versions.

I have configured hudson for my project with databases:

Debian with MySQL
Debian with PostgreSQL 9.3
Debian with PostgreSQL 9.4
Microsoft Windows 2012 with Microsoft SQL Server 2008
Microsoft Windows 2012 with Microsoft SQL Server 2012
and I will add SQL Server 2014 in near future.

I will add Ebean with GIT pull to my hudson configuration to test newest versions.

Thank you for your quick responses.
@rbygrave Yes, that did answer my question and I am planning on helping with this bug.
@Ryszard-Trojnacki Thank you for taking the time to set that up.  I'm interested to hear if the tests pass for 2008 as I only tested 2012/2014, but also I need to confirm that there is a test in place that covers this feature or at least reproduces this bug.

So I was trying to execute the paging test I had setup against MS SQL in the Ebean source code and I was receiving this error:
Connected to the target VM, address: '<IP_ADDRESS>:51450', transport: 'socket'
14:00:07.833 [main] INFO  c.a.e.server.lib.sql.DataSourcePool - DataSourcePool [ms] autoCommit[false] transIsolation[READ_COMMITTED] min[2] max[20]
14:00:40.866 [main] ERROR c.a.e.s.deploy.BeanDescriptorManager - Error in deployment
java.lang.IllegalStateException: Bean class com.avaje.tests.compositekeys.db.AuditInfo is not enhanced?
at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.setEntityBeanClass(BeanDescriptorManager.java:1365) ~[classes/:na]
at com.avaje.ebeaninternal.server.deploy.BeanDescriptorManager.createByteCode(BeanDescriptorManager.java:1103) ~[classes/:na]
If you can point me in the right direction for configuring this test I should be able to debug the issue.
I have my sql connection info in the ebean.properties file and I added the sqljdbc4.jar dependency setup.  I'm just not sure why it's picking up the AuditInfo class and complaining about it.
I pulled the latest from master this morning so not sure if that's in flux or not.

Sorry, I dropped the ball on this one.  Where are you at with this issue?

I haven't had a chance to come back to it yet but I'm assuming it's just a configuration issue when I'm trying to run the test suite.

I'll just close this issue for now.  We can reopen it if needed.

I ran into the same problem today using SQLServer 2008 R2. While debugging I came across the following code block from CQueryBuilder#buildRowCountQuery():
    if (hasMany) {
        sql = "select count(*) from ( " + sql + ")";
        if (selectCountWithAlias) {
            sql += " as c";
        }
    }

The field selectCountWithAlias holds the value retrieved from  DatabasePlatform#isSelectCountWithAlias().
Creating a custom database platform which extends MsSqlServer2005Platform where this flag is set to true solved this problem for me.
    public class CustomMSSqlServerPlatform extends MsSqlServer2005Platform {
        public CustomMSSqlServerPlatform() {
            super();
            this.selectCountWithAlias = true;
        }
    }

@maichler That sounds like what I was looking to find with debugging but never got the chance.  Thank you for following up.


[Bug]: Connecting to localhost as non-root user does not seem to work

Error Message and Logs
Trying to use the private key for the non-root user shows:

This key is not valid for this server.

I have manually verified this key works by running ssh<EMAIL_ADDRESS>-i storage/app/ssh/keys/ssh_key\@joksc0kww4wkoskkogssswo4, from within Coolify's container, and the connection back to the host succeeds.
Steps to Reproduce

Provision user coolify with a new key and add the public key to authorized keys.
Log into the web interface and skip onboarding because it will always fail.
Add the private key in the admin interface.
In general configuration for the server, change the user from root -> coolify. (it will not validate yet: Error: No query results for model [App\Models\PrivateKey] 0)
Go to private key tab and choose the private key we added earlier.

This key is not valid for this server.

I have no idea how it thinks the key isn't valid, but it is because I tested it myself with SSH. It's also weird that the user and the key are on different settings pages, because the user and key must belong together.
Example Repository URL
No response
Coolify Version
v4.0.0-beta.367
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.3 LTS
Additional Information
No response

I have no idea how it thinks the key isn't valid, but it is because I tested it myself with SSH. It's also weird that the user and the key are on different settings pages, because the user and key must belong together.

Have you ensure that the public key is added to /home/coolify/.ssh/authorized_keys file?

Not only did I state that it was added, but I also stated (twice) that it was tested using ssh.

cat ~coolify/.ssh/authorized_keys

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJr9ikk6H43lE/Dpnn4vCA6bgvA59gWoKG/AJW8H/ciY coolify

As best I can tell, this error occurs because Coolify expects that if the user is non-root, it will have unfettered and password-less rights to use sudo whenever it wishes. The whole point of not giving Coolify root access is so that it doesn't run (anything) as root.
https://github.com/coollabsio/coolify/blob/6987e83912baa9739faa86d43af659ec133c7029/bootstrap/helpers/remoteProcess.php#L77-L79
In this particular case, it is just trying to run ls /, so it clearly doesn't need root.
https://github.com/coollabsio/coolify/blob/6987e83912baa9739faa86d43af659ec133c7029/app/Models/Server.php#L1064
(Aside, since this is just a connectivity test, running true would probably be cleaner than attempting a directory listing.)
I still don't understand why Coolify thinks it needs root access for anything. I've added it to the docker group, giving it full access to Docker (which is almost as bad), but it should not need anything more. Correct me if I'm wrong.

The following patch will make Coolify accept the private key.
- instant_remote_process(['ls /'], $this);
+ instant_remote_process(['true'], $this);

This is a bit obscure, but the reason this works is because it implicitly disables prefixing sudo, because true just happens to be in the exclusions list for automatically prefixing sudo.
https://github.com/coollabsio/coolify/blob/6987e83912baa9739faa86d43af659ec133c7029/bootstrap/helpers/shared.php#L1225-L1232
Of course, whilst this does allow you to use a valid and working private key, it is a short-sighted "solution", because everything else is still broken as everything else still (falsely) presumes to wrap everything in sudo.

Have you added this line to your sudoers file: https://coolify.io/docs/knowledge-base/server/non-root-user/#sudo-permissions

Yes.

I managed to get this working, but it required custom directory permissions. Whereas the documentation calls for setting 9999:root with 0700 permissions, I had to go with localuser:localuser 0770 for every directory except for /ssh. This makes most things work, but some things are buggy, such as proxy restart not working (you have to switch to no proxy and then back to Caddy). Maybe that bug exists anyway, I don't really know whether bugs I find are due to my unconventional setup or not any more.


Fix arguments for jira methods

Seems like we had a few competing notions for jira actions: providing issue objects or their corresponding keys.
It lead to errors like:
self._jira_client.create_issue_link("is related to", issue_key,
ticket.key)
  File
"/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/tools/jira_client/jira_dryrun_client.py",
line 14, in create_issue_link
    f"Linked issue key={issue.key} as {link_name} root issue
key={root_issue.key}\n",
                        ^^^^^^^^^
AttributeError: 'str' object has no attribute 'key'

This fixes the issue by changing it all to issue keys arguments, as it is also the behavior of the vanilla Jira client.

/cc @paul-maidment @rccrdpccl

/hold

/unhold
should be good now

/lgtm

oops, I've forgot to merge https://github.com/openshift-assisted/assisted-installer-deployment/pull/365 - I guess I'll decline it now :sweat_smile:


Fix function signature typo in README.md example

Thanks for your work, @koltyakov! I found a typo in README.md file and tried to fix it.

Thanks for catching this!


python312Packages.playwrightcapture: 1.25.14 -> 1.25.15

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.playwrightcapture is: Capture a URL with Playwright
meta.homepage for python312Packages.playwrightcapture is: https://github.com/Lookyloo/PlaywrightCapture
meta.changelog for python312Packages.playwrightcapture is: https://github.com/Lookyloo/PlaywrightCapture/releases/tag/v1.25.15
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.25.15 with grep in /nix/store/wnp1lwxgacdjc9myqda4iac0gqlhw23s-python3.12-playwrightcapture-1.25.15
found 1.25.15 in filename of file in /nix/store/wnp1lwxgacdjc9myqda4iac0gqlhw23s-python3.12-playwrightcapture-1.25.15

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath

lacus
python311Packages.lacuscore
python311Packages.playwrightcapture
python312Packages.lacuscore
python312Packages.playwrightcapture

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wnp1lwxgacdjc9myqda4iac0gqlhw23s-python3.12-playwrightcapture-1.25.15 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.playwrightcapture https://github.com/r-ryantm/nixpkgs/archive/30ac77cc0711616219f336a84732fc0ad8c90855.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/30ac77cc0711616219f336a84732fc0ad8c90855#python312Packages.playwrightcapture

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wnp1lwxgacdjc9myqda4iac0gqlhw23s-python3.12-playwrightcapture-1.25.15
ls -la /nix/store/wnp1lwxgacdjc9myqda4iac0gqlhw23s-python3.12-playwrightcapture-1.25.15/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

lacus
lacus.dist

8 packages built:

python311Packages.lacuscore
python311Packages.lacuscore.dist
python311Packages.playwrightcapture
python311Packages.playwrightcapture.dist
python312Packages.lacuscore
python312Packages.lacuscore.dist
python312Packages.playwrightcapture
python312Packages.playwrightcapture.dist

Maintainer pings
cc @fabaff for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 341693 run on x86_64-linux 1

10 packages built:

lacus
lacus.dist
python311Packages.lacuscore
python311Packages.lacuscore.dist
python311Packages.playwrightcapture
python311Packages.playwrightcapture.dist
python312Packages.lacuscore
python312Packages.lacuscore.dist
python312Packages.playwrightcapture
python312Packages.playwrightcapture.dist


Bridge healthcheck stays in failed state until a successful event is received

The bridge healthcheck logic at https://github.com/cloudfoundry-incubator/cf-abacus/blob/master/lib/utils/bridge/src/healthchecker.js sets isFailing any time a failure event is received, but that state will only ever get changed by a subsequent success event.  If a failure has occurred and then a success event isn't received for a lengthy period (for example, no apps have been stopped or started) then the healtcheck will stay in a failed state permanently until the bridge is restarted.
It would make more sense to reset isFailing after the threshold has expired.

Hello @amhuber,
Looking at the code I can tell that a failure can occurs only when 'usage.failure' is emitted. This happens when a particular Event from CloudController it not accepted by Abacus. In this case the bridge is retrying this same Event, no other events form Cloud Controller are taken into account. The healthcheck is staying in a failed state, it will turn into healthy state when the Event is successfully accepted. And then the bridge will read other events (if have any) from Cloud Controller.
The code has been refactored since the time of creation the issue. Can you please describe how did you reproduce your scenario.

The relevant code was just moved in the refactor but it doesn't appear to have changed significantly.  As far as I can see, this is what is happening:

In https://github.com/cloudfoundry-incubator/cf-abacus/blob/master/lib/utils/healthmonitor/src/index.js#L10-L17 any failure will set isFailing to true
The only way to change isFailing to false is for the onSuccess event to fire (https://github.com/cloudfoundry-incubator/cf-abacus/blob/master/lib/utils/healthmonitor/src/index.js#L19-L22)
The health check will report as failed if isFailing is true (https://github.com/cloudfoundry-incubator/cf-abacus/blob/master/lib/utils/healthmonitor/src/index.js#L29)

Where this is an issue is in environments where we don't have any services in CF.  If there is an issue with the CC then a failure event can be triggered in the abacus-services-bridge, but since there are no services there will never be an onSuccess event, so the bridge healthcheck reports as failed forever until the bridge is restarted.  The only resolution on our end is to just not monitor the abacus-services-bridge healthcheck in environments that don't have any services, but it still seems like the logic could be improved in the healthcheck.


Missing component for inserting time

I need to insert date & time, but I'm missing component for this use case. May be switch on hxInputDate.

We don't feel this components is highly demanded:

the case for entering time (or date+time) is quite rare
most known date+time pickers are not considered "a good UX experience"
you can combine our HxInputDate with your own UI, e.g. two HxSelects for hours+minutes.

...keeping this open for any volunteer willing to propose his solution. ;-)


[AutoDiff upstream] @differentiable function type sema

Type checking for the @differentiable function type:

Check that parameters and results conform to Differentiable.
Add implicit conformances of parameters and results to Differentiable when they are generic parameters.
Import most of the differentiable_func_type_type_checking.swift test from the tensorflow branch. (There are a few function conversion tests that I haven't imported because they depend on the function conversion pipeline.)

Note: I needed to make a small logic change for this to work properly in master. In the tensorflow branch, we assume that the Differentiable protocol is always available. In the master branch, it is only available if you import _Differentiation. So I changed all the places where we assert/segfault when the Differentiable protocol is missing to fail gracefully with a diagnostic. And I added a test for this.
This resolves TF-823 and TF-1219.

@swift-ci please test

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - e319d45b08221d2eb1f572960c945c57f61e26a3

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - e319d45b08221d2eb1f572960c945c57f61e26a3

@swift-ci please test osx

Build failed
Swift Test Linux Platform
Git Sha - b1b856b40476d313f08a8e7e98dc525e4c551f63

@swift-ci Please smoke test macOS

Merging to unblock progress. Smoke tests pass, full tests failed only due to CI outages earlier today.


fix: sf5 deprecations

Q
A

Bug fix?
y

New feature?
y

BC breaks?
n

Deprecations?
n

Fixed tickets
n

Fix security deprecations and revert remove sensio/framework-extra-bundle.

Reviewed


sig#803: API Enhancement - Deletion of External Technical Users

reference ticket: https://github.com/eclipse-tractusx/portal-backend/issues/593
Description:
Existing service account deletion functionality to be extended allowing the deletion of technical users that are flagged as external. The current endpoint DELETE /api/administration/serviceaccount/owncompany/serviceaccounts/{serviceAccountId} should be utilized for this purpose.
Acceptance Criteria:

Extend the current deletion endpoint to check for the external flag on the technical user.
Depending if the flag is "external" or "internal" a different delete process will get followed.
2a. for "internal" the process stays as is
2b. for "external" a now backend logic will get followed (process followed below with # 3 ff.)
Run the external delete endpoint and wait for response
Upon receiving the successful delete response, set the technical user inside the portal DB to "DELETED" and update "lastChanged" date as well as "last editor" (table.identities)
API response: success

Non-Functional requirements
A. The system should log all deletion attempts, successful or otherwise.
B. Ensure that the audit function works for the API enhancement
API Changes:

No changes to the endpoint path or method.

Error Handling (should be already in place!):

If the technical user does not exist, return a 404 Not Found error.
If the 3rd party system is not able to delete the technical user return a 404 error

discussed to change status from INACTIVE to DELETED for technical users after the feedback was given by the dim.

discussed to change status from INACTIVE to DELETED for technical users after the feedback was given by the dim. Story to be enhanced to furthermore set the status directly to DELETED if the user is a synchronous technical user.

@MaximilianHauer just came across one case we didn't specified and wanted to mention it here. if for some reason the creation process of an external technical user is still in progress we now would cancel this progress and set the status of the user to DELETED directly without setting it to DELETION_PENDING. You can see this in my documentation pr as well.

if the creation process is still ongoing we would need to raise an error during the call of the delete api.
this ensures that we would not cancel an unfinished process and the endcustomer can delete the technical user only as soon as the whole chain is fullfilled.

tested successfully


Add tracer C/C++ API

Depends on 346
This adds an API for enabling/disabling trace file generation. This can drastically reduce runtime and trace file size when datasets are large.
This is necessary because parsing "plus args", i.e. +trace isn't clean in Verilator.
Also added a regression test/example.
This only works for vanilla_operation_trace.csv. A future PR will add support for Vcache tracing.

plusargs should work in verilator. What issue are you running into?

(this is still a great change for trace size reduction, just wondering if there's a Verilator bug to be discovered :))

They do!
I said it wasn't clean, not that it doesn't work. Let me clarify.
We run argument parsers in our programs, and they don't like when additional, non-recognized arguments are passed in (e.g. +trace). My impression is that in order to prevent this you would have to run verilator's arg parser first, and then run our arg parser.
Ideally we could hide the Verilator arg parser in manycore init, but we run our arg parser before manycore init.
So my impression is that the solution is requiring the user to run the verilator arg parser in main when they're running in verilator. I think this exposes too many platform details to the user, so I came up with a way around it.
The issue, and the reason I say this isn't clean is because it exposes the user to the implementation.

In short, writing the trace file is slow.
This PR provides the ability to select WHEN the trace file is being written. For example, we don't usually care about the data in the trace file when DRAM is being loaded, or the icache is being initialized. That's just overhead, and writing the trace file slows down simulation during those times.
We normally only care when the kernel starts executing. This API allows the user to start trace generation immediately before the kernel starts executing and stop trace generation immediately after.
That speeds up simulation. It also decreases the trace file size.

When #606 is merged, this is ready for review.

@bornaehsani Did the generated traces/logs parse correctly?

@bornaehsani Did the generated traces/logs parse correctly?

Yes stats, pc_histogram, vanilla core blood graphs and vcache trace graphs generated!


Join processor output when both streams have same field

When there are common fields in streams being joined, the output field selection lists the field only once. Its not clear from which stream the value is selected and send to the output.
Please discuss with @roshannaik on the behavior and how similar fields in different streams may be selected.

@arunmahadevan
After discussing this with @roshannaik we decided to let user select duplicate fields and ask them to enter the alias name that will be referred into the output fields.
To provide consistency, we will also let the user edit other fields alias but by default, it will be pre-fill with the field name.

Raised PR : https://github.com/hortonworks/streamline/pull/991


Update stage console URL

Why?: The stage URL changed from https://qaprodauth.cloud.redhat.com/ to https://qaprodauth.console.redhat.com/

/lgtm


Add the type definition of rel to the  element

Search Terms
rel, <form>
Suggestion
Add the type definition of rel to the <form> element. Reference HTML Standard.
Use Cases

Examples
<form target="_blank" rel="noopener noreferrer"></form>

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

The rel field is not shown in mdn/browser-compat-data, so it has been removed in removedTypes.json.
Reference microsoft/TSJS-lib-generato.


partition functionality

related to https://github.com/GameFoundry/bsf/issues/339 in that it would be useful to replicate http://www.cplusplus.com/reference/algorithm/partition/ api logic. Specifically in the light rendering portion of bsf in which the directional lights are partitioned away. https://github.com/GameFoundry/bsf/blob/b36bf34e23b0c53d4be471dc25865ebb7d044d83/Source/Plugins/bsfRenderBeast/BsRendererLight.cpp#L223

like this?
    template<typename Compare>
    size_type partition(Compare compare) {
        size_type num = 0;
        int first = -1;
        auto size = instances.size();
        for (size_type i = 0; i < size; ++i) {
            if(compare(instances[i])) {
                first = i;
                break;
            } else
                ++num;
            }

        if (first != -1) {
            for(size_type i = first + 1; i < size; ++i) {
                if(!compare(instances[i])) {
                    std::swap(instances[i], instances[first]);
                    underlying_type::swap(i, first);
                    ++num;
                }
            }
        }

        return num;
    }

are we worried appending utility functions like this increasing compile time?

Do you mean to partition the elements in a pool?
Doesn't using a component for that work? This is quite common with an ECS.

oh you mean just a tag component and using a group to ensure that the instance data is partitioned correctly? Yes it could work that way actually....
your post is a good example of  this https://skypjack.github.io/2019-04-12-entt-tips-and-tricks-part-1/ so that's the better way of doing this.


Push package boilerplate and first version of the script

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


add gitlab runner

add gitlab runner for windows
details here:
https://docs.gitlab.com/runner/install/windows.html

Support for this seems to be blocked by https://github.com/microsoft/winget-cli/issues/194 or https://github.com/microsoft/winget-cli/issues/182.


chore(NODE-5246): update dependencies

Description
What is changing?
See https://jira.mongodb.org/browse/NODE-5246
Double check the following

[ ] Ran npm run check:lint script
[ ] Self-review completed using the steps outlined here
[ ] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[ ] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

@W-A-James sorry for the late update the lockfile has a new format that breaks our typescript script. found it on BSON first, just sync-ing the change here.

@nbbeeken CI is failing unit tests due to missing zstd


Warn if wallet has low balance

Send a warning email if an offer is made and the wallet balance falls below some threshold ($20?)

Insight alert setup: https://github.com/OriginProtocol/origin-website/pull/546


Convert MesheryAdapterPlayComponent from class-based component to functional component

Notes for Reviewers
This PR fixes #8812
Potential Breaking Changes
Need proper testing
I  have converted the class component MesheryAdapterPlayComponent to a functional component. I did some testing and fixed the issue that I encountered. But I am not very familiar with the usage of that component so proper testing is required to try out the full usage of the component.
During the conversion to a functional component, I noticed a lot of functions and variables where defined but not used in the class component. Due to EsLint rules, I have removed some of the unused methods and commented other. A list is mentioned below.
Unused Functions in Class Component

handleChange (deleted)
handleModalOpen (commented)
handleSMIClick (commented)
handleDeployModalOpen (commented)
handleDeployModalClose (commented)
activeContextChangeCallback (commented)
generateSMIResult (commented)

Note: Due to Eslint rule I had to comment these unused functions as a result of which I had to comment on several other functions/variables as well (as they were only used in those functions).
Signed commits

[x] Yes, I signed my commits.

Looks good @toth2000 . Love that you created a new hook for the functional component. Just make sure that was not used in other places.
Also, there is a lot of commented code. Make sure to clean them up or write why it is commented.

Also, make sure to remove the withNotify and withRouter instead use react hooks that are already built and there in the codebase.

Looks good @toth2000 . Love that you created a new hook for the functional component. Just make sure that was not used in other places.

I have checked the methods are not called anywhere else.

Also, there is a lot of commented code. Make sure to clean them up or write why it is commented.

I have mentioned in the PR description a list of unused methods in the class component. I am not sure if I should remove these or not. So, I have commented.

Looks good @toth2000 . Love that you created a new hook for the functional component. Just make sure that was not used in other places.

I have checked the methods are not called anywhere else.

Also, there is a lot of commented code. Make sure to clean them up or write why it is commented.

I have mentioned in the PR description a list of unused methods in the class component. I am not sure if I should remove these or not. So, I have commented.

Yes, remove them. Do the small changes with withNotify and withRouter . Then please upload a video with the working state of the component.

withNotify

withNotify is a custom hook what should I replace it with? and withRouter to be replaced with useRouter ?

You can replace withNotify with useNotification. You can see it's use in other functional components.
And yeah you are right about the withRouter

@Rajdip019 I have removed the commented code and replaced the withNotify and withRouter hooks with useNotification and useHistory hooks

Here is a video of the component working:
https://github.com/meshery/meshery/assets/65480420/41e0458a-4205-48a8-9643-3db7ee03523b

LGTM.

Let's discuss this on the Meshery dev call tomorrow,
Please add this as your agenda item in Docs: https://docs.google.com/document/d/1Dg4Uz9rGTuGHmYZwIt47z1j5x3LmnpxD1M1SgypAkQ0/edit


[BUG] Opple 6 Button switch single button not working

Hello,
currently I am using Home Assistant 2021.5.5 for home automation which uses zigpy 0.33.0. Recently I replaced my Sonoff ZBBridge coordinator with the SilverCrest Zigbee Gateway and manually removed all devices using the Home Assistant UI and added them again using the new coordinator. All devices are working as expected except my Opple 6 Button switch. The button in the top right corner does not work anymore. When I press the button the LED of the switch blinks but nothing happens. There also is no event in zha_event. With the Sonoff ZBBridge all buttons worked as expected. The quirk is zhaquirks.xiaomi.aqara.opple_remote.RemoteB686OPCN01V5.
The issue might be related to https://github.com/zigpy/zha-device-handlers/issues/767 because there is also no MultiStateInputCluster.

I've added this one as a custom quirk and added MultiStateInputCluster where it is missing and it worked!


Android: Deeplinking to CBW doesn't redirect after signing the message

Describe the bug
The WebView used in the Android CWB doesn't redirect into calling app
Steps

Start Intent using https://go.cb-w.com/dapp?cb_url=$url&cb_callback=$callback as Uri
Sign message
The app doesn't redirect to the calling app
The CWB redirect ignores cb_callback

Expected behavior
The Android CWB should redirect user to the calling app
the
Version
No response
Additional info
Sample:
val url = Uri.encode("https://c.e.x/wallet?message=aaaaaaaa")
val callback = Uri.encode("c://dapp")
val uri = Uri.parse("https://go.cb-w.com/dapp?cb_url=$url&cb_callback=$callback")
val intent = Intent(Intent.ACTION_VIEW, uri)
localContext.startActivity(intent)

The URL in the app's browser doesn't start with custom scheme after signing the message
Desktop
No response
Smartphone

Samsung S20

@lub0s could you let me know which version of the Coinbase Wallet app you're using? You can find this in the "Settings" tab near the bottom.

@vishnumad the version is 28.2.7

Also experiencing this on Android.
Callback URLs are formatted as: appBundle://path/paramsHere, but we receive the following (image attached)

hi. sorry for the belated response. i believe this deeplinking callback with custom scheme issue had been addressed in previous releases. please try our latest version 28.22.0. feel free to open a new one if needed. thanks.


is this possible to modeling multi turn dialog.......here is new dataset

https://nlp.stanford.edu/blog/a-new-multi-turn-multi-domain-task-oriented-dialogue-dataset/

well, could be interesting, and  yes I think is possible.
Good luck


playing 1D matrices does not play stereo

This depends on the host API.
Which one are you talking about?
For example ALSA does what you apparently want, JACK doesn't.

This bug has been introduced in 820a916e291ad104609cb3d95c00b87f53d35183 (by me) and has been broken ever since.
The original code did not call tile on 1D arrays.
By the way, the original code also used asmatrix to make a 1D sequence into a 2D array. This is wrong. Numpy matrices are 2D arrays that overload mathematical operators to do matrix math. In contrast, atleast_2d promotes 1D arrays to two dimensions, but mathematical operators still work element-wise.

Sure, merge away!
To me, this is dead code anyway.
Once we have a high-level interface (play(), rec() and playrec(), see #19) we can remove all the "intelligent" broadcasting in write() (see #15).
In the meantime, you could give your students the hint to use the "playrec" branch; that's what I did to mine: http://nbviewer.ipython.org/github/spatialaudio/communication-acoustics-exercises/blob/master/intro.ipynb#Listening-to-the-Signal.


New version v1.6.4 causing error

New version v1.6.4 cause a error preventing all the scripts from running.
Error: couldn't get node 3 client: failed to get node: failed to load object: type *substrate.Node does not support Decodeable interface and could not be decoded field by field, error: expected more bytes, but could not decode any more

Old version v1.6.3 works fine.
To track issue (or which version to be the default).

Now we have a provider version for each network
latest now on qa is 1.7.1-qa
https://github.com/threefoldtech/terraform-provider-grid/blob/development_docs_update/README.md#latest-releases

Verified on Qanet, v1.7.1-qa.
I was able to change Verso in to specified one for qa v1.7.1 as in docs.

And was able to deploy a VM sucessfully.