added darksky adapter to repository

RE-CHECK!

Automated adapter checker
ioBroker.darksky

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "darksky" in latest repository
[ ] :eyes: [W505] setTimeout found in "main.js", but no clearTimeout detected

Add comment "RE-CHECK!" to start check anew

The mentioned setTimeout is the following:
setTimeout(function() {
			adapter.stop();
		}, 5000);

Does this really need a clearTimeout for a schedule adapter?

Some review comments:

Please check your roles, e.g. value.probability is not defined as a role - check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/stateroles.md
to your question regarding the "killswitch timeout": In fact this timeout is only used if the code is written as you did and then I find 5s very low for the number of tates created by the adapter. Ideally you would make sure that you respect all the state creations and execute on "stop" command after all were executed. This could by done by Promises or also by counting state creations and number of executed callbacks. With this static 5s you are at a very high risk that you kill the adapter before all states are created on lower CPU systems ... But in fact yes: you can ignore the clearTimeout warning in your case.

Please check your roles, e.g. value.probability is not defined as a role

Yes, I know. The problem is that I do not find matching roles for many states. E. g. there are states for: value.precipitation.day.forecast.0 (today) and value.precipitation.day.forecast.1 (tomorrow) but what about the current precipitation chance and the hourly forecasts?

I know. Please stick to the existing role definitions and you're welcome to open an issue at js-controller repo to expose your ideas for additional new roles.
And also please understand the meaning of roles: Roles are there that visualizations and editor "understand" a bit better about the meaning of a state value to display it correctly, e.g. to automatically choose an icon or such. So it needs to be a balance what is needed ... but if it is too many then visus can not really adjust to all of am ;-(

Sadly DarkSky has been integrated into Apple and the sign-up has been canceled. The api will stop working end of 2021 so the adapter no longer makes sense for the repo.


can not connect to db

docker run -it \   -e ADMIN_PASSWORD=Password1! \   -e DATABASE_ENDPOINT=postgres://postgres:postgres@localhost:5432/postgresql \   app
ConnectionBus: Opening JDBC connection to Some(localhost:5432) failed with SQLState: 08001 Error code: 0 Message: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections
using Navicat to connect db is success

i think this issue is related to docker container context of 'localhost' - which is the container itself and not your laptop/workstation - and not a mendix buildpack issue.
check: https://medium.com/it-dead-inside/docker-containers-and-localhost-cannot-assign-requested-address-6ac7bc0d042b
you might want to try your local IP address instead of 'localhost' for your DB host or add '--network="host"' to your docker run command to give the container full accress to local system services (https://docs.docker.com/engine/reference/run/#network-settings)

thanks


Slightly improved the readme

graphics look bad as png -> changed to svg
informations doesn't exist -> plural is information

I will close this pull request if you don't wish to merge within the next 14 days.

@emazzotta hi Emanuele, I'm the original author of docker-puller, but not only I don't work at Glow anymore, I don't even have the commit permissions anymore. Last but not least, Glow doesn't exist anymore: http://www.portada-online.com/2016/03/01/adtz-acquires-glow-digital-media-creates-adglow/
By the way, the code was released under the MIT license, so I can fork this and you can create the PR against the new repository. Sounds good to you?

Oh I see, ok that's good to know. Thanks!
I already forked the repo, just thought I'd slightly improve the original one :)
I'll close this pull request then.


GServer interface

coverage: 80.601%. remained the same
when pulling 008b507046a26db7a18d9fb153326c654c17352b on dissoupov
into c5f26b555927a53c4c4549ac48b29ceda2853fc8 on main.


Kinesis wrong ShardCount with create_stream

import boto3
from moto import mock_kinesis

def bug_kinesis(nb_shard=1):
    with mock_kinesis():
        client = boto3.client('kinesis')
        client.create_stream(StreamName='test', ShardCount=nb_shard)
        description = client.describe_stream(StreamName='test')

        return len(description['StreamDescription']['Shards'])

for i in range(1,11):
    print('expected {0}, actual {1}'.format(i, bug_kinesis(i)))

expected 1, actual 1
expected 2, actual 2
expected 3, actual 4
expected 4, actual 4
expected 5, actual 6
expected 6, actual 7
expected 7, actual 8
expected 8, actual 8
expected 9, actual 10
expected 10, actual 11

The number of shards we get after we create the stream is not always equal to the shardCount parameter. It looks like a bug for me.
For example, with ShardCount=3
import json
with mock_kinesis():
    client = boto3.client('kinesis')
    client.create_stream(StreamName='test', ShardCount=3)
    description = client.describe_stream(StreamName='test')

    print(json.dumps(description['StreamDescription']['Shards']))

[
  {
    "HashKeyRange": {
      "EndingHashKey": "113427455640312821154458202477256070485",
      "StartingHashKey": "0"
    },
    "SequenceNumberRange": {
      "EndingSequenceNumber": 0,
      "StartingSequenceNumber": 0
    },
    "ShardId": "shardId-000000000000"
  },
  {
    "HashKeyRange": {
      "EndingHashKey": "226854911280625642308916404954512140970",
      "StartingHashKey": "113427455640312821154458202477256070485"
    },
    "SequenceNumberRange": {
      "EndingSequenceNumber": 0,
      "StartingSequenceNumber": 0
    },
    "ShardId": "shardId-000000000001"
  },
  {
    "HashKeyRange": {
      "EndingHashKey": "340282366920938463463374607431768211455",
      "StartingHashKey": "226854911280625642308916404954512140970"
    },
    "SequenceNumberRange": {
      "EndingSequenceNumber": 0,
      "StartingSequenceNumber": 0
    },
    "ShardId": "shardId-000000000002"
  },
  {
    "HashKeyRange": {
      "EndingHashKey": "340282366920938463463374607431768211456",
      "StartingHashKey": "340282366920938463463374607431768211455"
    },
    "SequenceNumberRange": {
      "EndingSequenceNumber": 0,
      "StartingSequenceNumber": 0
    },
    "ShardId": "shardId-340282366920938463463374607431768211456"
  }
]

The last ShardId is weird. I think the bug is related to the HaskKeyRange.

I quickly looked at the code, I think this piece of code does not work: https://github.com/spulec/moto/blob/5a207555650f970fb7f056482bd0bccbf37aa5c6/moto/kinesis/models.py#L129-L134

Closed with https://github.com/spulec/moto/pull/2099


Typo in readme

The URL that's requested is a combination of the base URL you passed to RestClient.For<T>("http://api.cample.com")
should be
... RestClient.For<T>("http://api.example.com")

Thanks!


⚠ ClamAV has degraded performance

In 033d39c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 232 ms

Resolved: ClamAV performance has improved in f182abf after 5 minutes.


Responsive UI Enhanced Login Page

"I've crafted a fully responsive & UI Enhanced Login Page in which i used a lottie also which is visible on desktops and tabs & on phones , i have designed only login page and also used Zod library through which i have done input validation. If any user does not enter correct field or left blank, then it shows error."
This PR fixes #71
Issue Title : [SignIn.jsx] - design an attractive signin page for curious connect #71
Screenshots :
For Desktops-

For Tabs -

For Mobiles -

Video -
https://github.com/Curious-Ecosystem/Curious-Connect/assets/92575432/a690d5db-be1b-4cc5-b074-8fd3761340e8

Great

@UjjwalSaini07 Thank you

@thecuriousteam Can you please check this?

There is some merge conflicts @sarthak-stranger

@sarthak-stranger route is not happening from signin button


[WIP] should provide committee meeting protocol metadata

related to https://github.com/hasadna/Open-Knesset/issues/490


storage: Accepts a snapshot for segment replaceData API

Signed-off-by: Wish<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref #5237
Problem Summary:
What is changed and how it works?
This PR is extracted from https://github.com/pingcap/tiflash/pull/6378

Changed dangerouslyReplaceData to be replaceData. Now it accepts an optional snapshot parameter, so that it becomes safe.
When snapshot parameter is specified, everything data in the snapshot will be replaced, and everything after the snapshot will be kept.
When snapshot is not specified, everything will be replaced.
In this PR, we will not utilize this new feature. It will be used in #6378.

Segment::replaceData API does not create a ref file by itself now. The ref file is now created by the caller, in the DeltaMergeStore_Ingest.cpp.

Add unit tests for the new replaceData API.

Add randomized tests for the new replaceData. We randomly create a snapshot, and after some iterations (for example, possibly some writes) we will invoke the replaceData. We check whether the write-after-snapshot are preserved.

DeltaMergeStore::dangerouslyReplaceData is still preserved. It will be dropped in the next PR.

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge


Add  Segment (Broadcast) Text messages

https://github.com/mautic/mautic/pull/7879

to confirm @kuzmany it is using the send broadcast command of email ? Or another broadcast for text messages ?

Yes, it's same command and same options (channel, ids ...).
Without options command trigger emails and sms with one touch.

@mautic/education-team-leaders @kuzmany we will need to bring this PR over to the new documentation repo at https://github.com/mautic/mautic-documentation in time for the 3.2 release.
Would also be good if we could have some materials to promote this feature - tutorial, video, use cases etc.

@RCheesley @kuzmany I will make some time to write that after the Mauticon! :)

Have updated the documentation on the new repo so I'll close this PR down.


Make musl build a container job

https://github.com/wasmerio/wasmer/pull/2265 but for nightly....
can't get the tests to run on wasmer because our CI is in a bad state, so trying here

Closing this in favor of #20


[BUG] Illegal memory access CUDA error when using long sequences

Describe the bug
Running a forward pass on a DeepSpeedTransformerInference layer, with a sequence length of ~1000 tokens, results in an illegal memory access CUDA error.
To Reproduce
Here is a minimal reproducible example that shows the bug:
from deepspeed.ops.transformer import DeepSpeedInferenceConfig, DeepSpeedTransformerInference
import torch

torch.cuda.set_device(0)

hidden_size = 256
heads = 8
num_layers = 12
fp16 = True
layernorm_epsilon = 1e-5
deepspeed_config = DeepSpeedInferenceConfig(hidden_size=hidden_size,
                                            intermediate_size=hidden_size * 4,
                                            heads=heads,
                                            num_hidden_layers=num_layers,
                                            layer_norm_eps=layernorm_epsilon,
                                            # encoder_decoder=False,
                                            fp16=fp16,
                                            pre_layer_norm=True,
                                            stochastic_mode=False,
                                            scale_attention=True,
                                            triangular_masking=True,
                                            local_attention=False,
                                            window_size=256,
                                            )
transformer = DeepSpeedTransformerInference(config=deepspeed_config)
transformer.half()
new_state_dict = {k: 0.01*torch.ones(*v.shape, dtype=v.dtype, device=v.device)
                  for k,v in transformer.state_dict().items()}
transformer.load_state_dict(new_state_dict)
transformer.cuda()
device = list(transformer.parameters())[0].device

batch_size = 1
seq_len = 1000
inputs = torch.ones((batch_size, seq_len, hidden_size), dtype=torch.float16, device=device)
input_mask = torch.ones(*inputs.shape[:2], dtype=bool, device=device)

output, _ = transformer(
    input=inputs,
    input_mask=input_mask)

print(f"outupt: \n {output}")

Running the code resulted with the following exception
RuntimeError: CUDA error: an illegal memory access was encountered

Expected behavior
I was expecting to get a correct output, without the excpetion.
ds_report output
[2022-06-28 10:35:33,425] [WARNING] [partition_parameters.py:60:<module>] unable to find torch.distributed._all_gather_base. will fall back to torch.distributed.all_gather which will result in suboptimal performance. please consider upgrading your pytorch installation.
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
      runtime if needed. Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
cpu_adam ............... [NO] ....... [OKAY]
cpu_adagrad ............ [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
 [WARNING]  using untested triton version (1.1.1), only 1.0.0 is known to be compatible
sparse_attn ............ [NO] ....... [NO]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
 [WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
 [WARNING]  async_io: please install the libaio-dev package with apt
 [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
async_io ............... [NO] ....... [NO]
utils .................. [NO] ....... [OKAY]
quantizer .............. [NO] ....... [OKAY]
transformer_inference .. [NO] ....... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/opt/conda/lib/python3.8/site-packages/torch']
torch version .................... 1.8.0a0+1606899
torch cuda version ............... 11.1
torch hip version ................ None
nvcc version ..................... 11.1
deepspeed install path ........... ['/opt/conda/lib/python3.8/site-packages/deepspeed']
deepspeed info ................... 0.6.5, unknown, unknown
deepspeed wheel compiled w. ...... torch 1.8, cuda 11.1

System info (please complete the following information):

OS: Ubuntu 20.04
GPU count and types: a single A100 GPU
Python version: 3.8.5

Launcher context
Launching directly using Python interpreter.
Additional context
Maybe the bug is related to line 20 in csrc/transformer/inference/includes/custom_cuda_layers.h? It reads:
#define MAX_OUT_TOKES 1024

@tomeras91 I can confirm that I'm able to reproduce this error. I don't think it has anything to do with MAX_OUT_TOKES. @RezaYazdaniAminabadi could you take a look at this?

Hi @tomeras91
Thanks for reporting this issue. I will look into this.
@mrwyattii, thanks for reproducing this. Yes, I think the issue is probably somewhere else.
Thanks,
Reza

I also have encountered this error.  Trying small inputs such as what the tutorial uses "DeepSpeed is" leads to normal results, but using significantly longer input leads to an illegal memory error.
I would try version 0.6.6 or earlier as suggested by @trianxy but I want to use long sequences with GPTJ and GPT Neo 2.7B and those had issues up until recently as can be seen in #2233 .
My build is the same as the one in that issue, just with DeepSpeed built from source shortly after the PR that fixed the issue.

FYI @mallorbc , @tomeras91 , @RezaYazdaniAminabadi :
My related issue which I detailed above is fixed in this PR. More precisely, my issue does not appear when I install the commit 4abd455
Thanks for that fix!

If I recall, I also tried building from that PR and had issues with poor outputs for GPT Neo and GPTJ.  I believe one of the branches I built fixed the memory error but still gave garbage output for long inputs.  Perhaps this is the one.
Perhaps I am remembering wrong though, I will try this again later and see if it fixed anything, but again I think I tried this already.
Thanks!

Hi everyone,
I am encountering the same issues with a RoBERTa type model on which I ran 8 bit MoQ during training.
When instantiating the inference engine using:
engine = deepspeed.init_inference(deepspeed_trainer.model,     dtype=torch.half,     quantization_setting=(False,64),     replace_with_kernel_inject=True )
I get the same error than the one mentioned by @tomeras91 and @trianxy. Do you know when this issue may be fixed?
This also raises a question I had: is it possible to use Deepspeed for training (typically for QAT) and infer using torch?
I would like to use the quantized weights of my model trained using Deepspeed to create a quantized torch instance for inference. It is still unclear if/how I could do so.
Thank you for your help!

Hi @trianxy!
Could you solve this issue?


Feature/home detail pull request

Added home detail to each home and buttons to create pdf's.

ok, nice work


fix: A clear alert message after changing preference.

What
A logical alert message after changing the preference.
Screenshot

Fixes bug(s)
#1782
Part of

https://github.com/openfoodfacts/smooth-app/issues/525

Codecov Report

Merging #1783 (96c9e1e) into develop (2ea0da3) will decrease coverage by 0.76%.
The diff coverage is 0.59%.

@@            Coverage Diff             @@
##           develop   #1783      +/-   ##
==========================================
- Coverage     8.86%   8.10%   -0.77%
==========================================
  Files          161     168       +7
  Lines         6623    7345     +722
==========================================
+ Hits           587     595       +8
- Misses        6036    6750     +714

Impacted Files
Coverage Δ

...h_app/lib/cards/category_cards/abstract_cache.dart
0.00% <0.00%> (ø)

...p/lib/cards/category_cards/asset_cache_helper.dart
0.00% <0.00%> (ø)

...p/lib/cards/category_cards/raster_async_asset.dart
0.00% <0.00%> (ø)

...oth_app/lib/cards/category_cards/raster_cache.dart
0.00% <0.00%> (ø)

..._app/lib/cards/category_cards/svg_async_asset.dart
0.00% <0.00%> (ø)

...smooth_app/lib/cards/category_cards/svg_cache.dart
0.00% <0.00%> (ø)

...t_cards/knowledge_panels/knowledge_panel_card.dart
0.00% <0.00%> (ø)

...t_cards/knowledge_panels/knowledge_panel_page.dart
0.00% <0.00%> (ø)

...knowledge_panels/knowledge_panel_summary_card.dart
0.00% <ø> (ø)

...s/knowledge_panels/knowledge_panel_table_card.dart
0.00% <0.00%> (ø)

... and 62 more

Continue to review full report at Codecov.

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


Make the library configurable.

The user should parametrize the macro with a method that needs to be called for execution.

@olafurpg is this fixed?

Yes, this was fixed with the last PL

Fixed by #24

To be precise, fixed by #23, and improved by #24.


[Question] How to test access to global/session variables?

As you may have guessed I work in a really ugly codebase :-)
Is there a way to verify the access to global variables during the execution an experiment?

If you have something that the access will change from global/session for comparison, then I think Scientist can help.  If your app is using session, then you might be storing something like the current user in there.  This is an example of a refactor that could be made to hook Scientist up to say load the User from the database by name instead of relying on session state.
IUser GetUser(string username) {
    return Scientist.Science<bool>(nameof(GetUser), experiment =>
    {
        experiment.Use(() => (IUser)Session["CurrentUser"]);
        experiment.Try(() => LoadUserFromDb(username));
    });
}

Note that to gain the full advantage of Scientist things like tracking results, custom comparisons, enabling observations, etc., there is additional wiring that can be found in the README.md.


Symbols feature missing

Hello,
I've noticed that the symbols feature is no longer being recogonised since 1.0.30001265 caniuse-lite db.
https://github.com/browserslist/caniuse-lite/blob/v1.0.30001224/data/features/symbols.js
Any reason for this?

Yes, Can I Use deleted it.
We only re-pack Can I Use data. Report an issue here https://github.com/Fyrd/caniuse/


Updated "view source" path to source file in github

Source for https://developers.google.com/web/fundamentals/ currently goes to
https://github.com/Google/WebFundamentals/tree/master/src/site/_en/fundamentals/index.html

but should be
https://github.com/Google/WebFundamentals/blob/master/src/_langs/en/fundamentals/index.html

CLA signed.

@petele @wibblymat I could have sworn we had already fixed this.

Did you run the live publish? I didn't have permission, if you remember.
On Mon Feb 16 2015 at 11:10:34 AM Paul Kinlan<EMAIL_ADDRESS>wrote:

@petele https://github.com/petele @wibblymat
https://github.com/wibblymat I could have sworn we had already fixed
this.
—
Reply to this email directly or view it on GitHub
https://github.com/google/WebFundamentals/pull/1139#issuecomment-74492562
.

Seems fixed now on live site. Assuming it was just a publish issue then, closing this out.


svg within a key story div

This is a small PR to capture the pattern adding a few function calls for content w/in a key story div.
fixes #142 if this is acceptable.

@aappling-usgs I thought I followed the suggestion. What did I miss?

@aappling-usgs yes, this would do more of what I was talking about. Although, I think that the .js file needs to be listed somewhere as a resource or it won't get copied into target? Might be wrong about that though

Cool. I think it's getting copied because it's listed as a depends of key_stories (line 311). I think including something in resources causes that thing to be loaded in the head of the html file (in a script tag, e.g., ). This merged PR seems to be working both for Jordan and for me locally. The publish stuff is still a bit black-boxy to me, so maybe I'm getting the interpretation wrong, but I think that's what's happening.


Missing origin attr added per 0.11 xsd

Missing origin attr added per 0.11 xsd, otherwise mwtypes breaks.

Sorry for the late review!  Thanks for the PR.  This looks good but we'll need to do some work on the mwtypes library first to make this work.  If we've officially switched to the new format, it looks like a bunch of pending work can get merged!  I'll take a look at that over the next couple days so we can get this incorporated.

This is relevant but doesn't include "origin" https://github.com/mediawiki-utilities/python-mwtypes/pull/5

Yes, if I understand correctly it is already written in the Content_Type class but not yet in the Revision_Type class (python-mwtypes/tree/updates_schema_0.11).
I've hacked this PR to make it work in a project where I use the updates_schema_0.11 branch from that project with no change (python-mwtypes/tree/updates_schema_0.11) and only on a Content dump of a Mediawiki (no revisions). That's probably why.
I'm still interested in the 0.11 branches of both projects btw !

Sorry for bumping this. I'm facing this error mwxml.errors.MalformedXML: Unexpected tag found when processing a <revision>: 'origin'. Is there a workaround while waiting for this PR to merge?

OK both of these are in PyPi.  Let me know how it goes!

Thank you SO MUCH! Did you fix this too? https://github.com/mediawiki-utilities/python-mwxml/issues/20 Anyway thanks!


fea-rs doesn't build against fontations head

ValueFormat seems to no longer be Ord:
error[E0277]: the trait bound `ValueFormat: Ord` is not satisfied
    --> fea-rs/src/compile/lookups/gpos.rs:223:22
     |
223  |                     .entry((v1.format(), v2.format()))
     |                      ^^^^^ the trait `Ord` is not implemented for `ValueFormat`

@cmyr proposed this is an accidental resulting from dropping bitflags


ecryptfs 104 -> 106

@vbgl, thanks for catching & sorry about that.

Needs a squashing; looks good otherwise.

Squashed.

Thanks! Merged.


Store logging status

After user login or logout we have to store logging status .

closes with #61


[Release] sdk/resourcemanager/iotsecurity/armiotsecurity/0.1.0

…tion from spec commit: 3c5135f8325eaf79be7b137cae363bdcba028c17

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run prepare-pipelines

/azp run go - armiotsecurity - ci

/check-enforcer override


DRAFT: DBZ-190 Proposed changes to explicitly set a null default on optional field schemas

At this time, this should not be merged!
Having to explicitly call SchemaBuilder's defaultValue(null) everywhere we have an optional schema is really painful, but this PR contains all of the places where this would have to be done. But per my comment on [DBZ-190|https://issues.jboss.org/browse/DBZ-190], this still won't have any affect on the Avro schema generated by the {{AvroConverter}}.

Closing without merging.


added new version for nginx

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

General Guidelines

[x] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[x] My extension version conforms to the Extension version schema

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Hi @kairu-ms @jsntcy @yonzhan thanks for taking a look. I'd like to let you know that we've added tests for this new version and all the test and CI have been run successfully. Please review and approve when you have time. Thanks!

Hi @zaowang-ms, please create PR to submit the model in aaz repo as well. Thanks


file manager and file share plugins.

please add file manager and file share plugins.

you can install them, but won't be added to script

arakasi72 sorry for been very stupid to ask you this silly think bro. But not easy for Linux Noobs like me to use these plugins with rtinst script of yours. Can you just help this post and write short command lines on how to use. I have installed this in rutorrent plugins directory https://github.com/nelu/rutorrent-thirdparty-plugins but I am unsuccessful to use it.

I can't create symlink with this
Fileupload plugin also doesn't work well.

I dont know if I am missing some permissions issues. But this two parts will be really useful in rutorrent. I would like to know how to install them and execute in rtinst


Fix format-security error in rlgl_standalone.c

See #1304

@musteresel Thanks for the improvement!


Using EfficientNet training Person-reid

Hi,I used EfficientNet  to train Person reid on dataset Market1501, but the mAP is only 70+,I don't know why. Does  EfficientNet  not  suitable for feature extraction?

EfficientNet should be well suited for feature extraction as well as classification (e.g. Figure 7 in the paper). It's difficult to diagnose your issue without more information -- if you would like, you can post more information (or a full repo with code) and I'll try to look at it when I have a bit of time.

Closing this repo, feel free to re-open if there are additional questions.


package 'com.google' not found when build on IDEA

Description
package 'com.google' not found when build on IDEA. For example, in class org.jkiss.utils.rest.RestClient
DBeaver Version
devel
Operating System
No response
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

I also encountered this problem

Do you have a solution？


Delete photo (image) with help of delegate to master

I ordered the removal of the settings button in a separate function, and made that it can be switched on and off using a Boolean value. Made if the developer chooses, what the delete button is disabled, then it will not be added to the form, because if we add it, it prevents Scaling.

#34 is correct pull request, so close this pr.

@suzuki-0000 Thanks so much


Dataset

How can I download the dataset used for training？I cant figure out followed the explanation in your github..

emmm I think I have overcome this but... how to solve“ModuleNotFoundError: No module named 'prismatic.conf'”

Can you run an editable install of the repository (via pip install -e . from the root of the repo)?

Closing the issue; feel free to reopen if the issue is not resolved.


fix(l1): use latest block base fee as default gas price

Motivation

Starting at the genesis we do not have a history of blocks to compute the mean gas price, hence we added a default gas price in a previous fix to this endpoint handler. The problem now is that this default value is usually lower than the base fee, preventing the transactions from being included.
Description
We now use the double of the latest block base fee as the default gas price either when there's no block history (we're at the genesis) or the mean gas price is 0 (a dev blockchain is advancing with empty blocks).

This is no longer needed


Still really inefficient FizzBuzz, now with 100% less bugs*

as far as I can tell. Now with 80 lines of code, for a total savings of 20 lines from just console logging each line individually.

You are crazy.

But (I think) the good kind of crazy.

jaUpdated it to take your suggestions into account. I also made it into a function as per the extra credit requirement. I wasn't aware that using for ... in to iterate through an array was improper in JavaScript, thanks for letting me know.

👍  💯


dex-k8s-authenticator: added support for new ingress api versions

Hello,
I've added support for new ingress api versions with conditional checks to keep the old api versions.

Thanks for the contribution! LGTM!


In chinese,伍 is another five.

In chinese,伍 is another five. It is used in Money.
In chinese, all the numbers have two styles.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
一, 二, 三, 四, 五, 六, 七 ,八, 九, 十
壹, 贰, 叁, 肆, 伍, 陆, 柒, 捌, 玖, 拾
The third style is used in paper money and coin.

I think chineseCapital preferred in this case, since it's called 大写数字.


No Code Edit Button When Readable Line Length Toggle Off

Obsidian Version: v0.14.12 insider preview
Minimal Theme Version: v5.2.7
Platform: Windows 11

Description: As title descripted, please refer screenshot below, When close the Settings --> Editor --> Readable Line Length toggle this bug will appear.

This will be fixed in an upcoming update, you can access the beta in the margin-offset branch

Fixed in 5.2.8 https://github.com/kepano/obsidian-minimal/releases/tag/5.2.8


Attribute error being flagged when importing awswrangler

I've recently been getting an attribute error when importing awswrangler 2.12.1. I've had no issues until now so I'm a bit confused why it's happening. Any suggestions on why this might be happening?
I am currently using:

Python 3.8.6
awswrangler 2.12.1
progressbar2 3.55.0

Please see flag below:

AttributeError                            Traceback (most recent call last)
 in
----> 1 import awswrangler
/opt/conda/lib/python3.8/site-packages/awswrangler/init.py in
8 import logging as _logging
9
---> 10 from awswrangler import (  # noqa
11     athena,
12     catalog,
/opt/conda/lib/python3.8/site-packages/awswrangler/opensearch/init.py in
3 from awswrangler.opensearch._read import search, search_by_sql
4 from awswrangler.opensearch._utils import connect
----> 5 from awswrangler.opensearch._write import create_index, delete_index, index_csv, index_df, index_documents, index_json
6
7 all = [
/opt/conda/lib/python3.8/site-packages/awswrangler/opensearch/_write.py in
9 import boto3
10 import pandas as pd
---> 11 import progressbar
12 from jsonpath_ng import parse
13 from jsonpath_ng.exceptions import JsonPathParserError
/opt/conda/lib/python3.8/site-packages/progressbar/init.py in
1 from datetime import date
2
----> 3 from .utils import (
4     len_color,
5     streams
/opt/conda/lib/python3.8/site-packages/progressbar/utils.py in
7 import logging
8 import datetime
----> 9 from python_utils.time import timedelta_to_seconds, epoch, format_time
10 from python_utils.converters import scale_1024
11 from python_utils.terminal import get_terminal_size
/opt/conda/lib/python3.8/site-packages/python_utils/init.py in
----> 1 from . import (
2     aio,
3     compat,
4     converters,
5     decorators,
/opt/conda/lib/python3.8/site-packages/python_utils/decorators.py in
6 T = types.TypeVar('T')
7 TC = types.TypeVar('TC', bound=types.Container[types.Any])
----> 8 P = types.ParamSpec('P')
9
10
AttributeError: module 'python_utils.types' has no attribute 'ParamSpec'

Hi @christinegu1 looks like that particular version of progressbar2 has an issue. In particular, this issue is in python_utils that is a dependency of progressbar2. I suggest to try installing a different version of those libraries.

Hi @kukushking. I will try installing a different version of these libraries first. If the issue persists, I'll post the pip freeze, but I will respond back with what happens. Thanks for your response.

@kukushking Wanted to give you an update: I created a ticket with python_utils and they resolved the issue. The problem was the result of an outdated version of 'typing-extensions' being downloaded with python_utils v3.6.0. They released a patch to update typing-extensions. Now awswrangler 2.12.1 is working as expected. I will close this ticket now.


added a program in android that uses GoogleMaps API key fro displayin…

…g location on your AVD

added a program in android that uses GoogleMaps API key fro displaying on AVD


[Mui v6] Set default mode at first render

Steps to reproduce
In the process of migrating from MUI v5 to MUI v6
In v5 I can specify "dark" or "light" as default but in v6 the default is always "system"

Here is the code that worked in v5. But in v6 the defaultMode flags have been removed
  <InitColorSchemeScript
    defaultMode={"light}
    modeStorageKey={schemeConfig.modeStorageKey}
  />

 <AppRouterCacheProvider options={{ key: 'css' }}>
<CssVarsProvider
  theme={theme}
  defaultMode={"light"}
  modeStorageKey={schemeConfig.modeStorageKey}
>
  <CssBaseline />
  <RTL direction={settings.direction}>{children}</RTL>
</CssVarsProvider>
</AppRouterCacheProvider>

Current behavior
Default mode is always "system" at first render
Expected behavior
Maybe specify "light" / "dark" / "system" to default instead of always defaulting to "system" at first render
Context
No response
Your environment
No response
Search keywords: Set default mode

It sounds like you are looking for https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually.
Now, the docs structure confuses me a bit. I would assume that the CSS variables about dark mode should be into https://mui.com/material-ui/customization/dark-mode/.

Thanks for your response but it seems this document you provided doesn't work for me.
As far as I understand createTheme creates a default mode of light.
But mode and systemMode from useColorScheme will always take the priority value from the system.
Currently my computer system is dark state but I want my web application to always be light by default (without configuration from the computer system). Can we specify light,dark,system modes instead of default always beingsystem?

I'd say this is an edge case. The reason is why do you want your app to be light by default when the user prefers dark?

Hi @siriwatknp

The reason is why do you want your app to be light by default when the user prefers dark?

Because for my application the color palette in light mode is more important. It highlights the UI components I built and dark mode in my app is just a secondary option.
So I want to set the light mode by default so that first time users get the best impression of my app.
Users may prefer to set their own default mode rather than being forced to follow a pre-set mode.

Another question, do you need to set the default as light but still letting user toggle to other modes? or do you want to force the page to always be light.

The default is light mode and users can switch to dark or system.
In my app there is a setting option for light and dark. So if the default mode is not customizable (default is always system) then the defaultSettings we provide is meaningless.
And our customers are also developers (they also have the need to customize things) not end users
I just thought v6 had support for this feature and I didn't find the documentation to customize it. But according to your answer, this feature is currently unavailable.
Can you help me provide a solution to this problem? (The default can be: light, dark or system and they can switch modes )

Can you help me provide a solution to this problem? (The default can be: light, dark or system and they can switch modes )

Thanks for your feedback, I am working on this.

I'm facing the same issues as @mtr1990
Would be great if we could provide the default color scheme.
Have there been any updates on this?

My use case is similar, I want to make sure that the default starts as light mode, but I want to allow the user to change it - after which, it is OK to use whatever they last chose.  Whilst personally I love having system be the default, my PMs specifically want light mode to be the default to allow users to opt in to the other options and not suddenly get a changed ui.

@mtr1990 Can you try this?
{
  "@mui/material": "https://pkg.csb.dev/mui/material-ui/commit/e07eebfd/@mui/material"
}

The theme flickers on the first render.
If the system default color mode is set to dark, and the defaultMode of the Theme is set to light, the app still renders the UI in dark theme, and then switches to the light mode on the client side.
This causes flickering of the whole page on the first render.

The theme flickers on the first render. If the system default color mode is set to dark, and the defaultMode of the Theme is set to light, the app still renders the UI in dark theme, and then switches to the light mode on the client side. This causes flickering of the whole page on the first render.

Yes, thats happens to me too. No flickers on dark mode but happens in light mode. Here is my codes;
export default function RootLayout({ children }) {
	const userAgent = userAgentFromString(headers().get("User-Agent"));
	return (
		<html lang="tr" suppressHydrationWarning>
			<body>
				<InitColorSchemeScript attribute="class" modeStorageKey="theme" />
				<AppRouterCacheProvider>
					<ThemeProvider theme={theme} modeStorageKey="theme">
						<AppContextProvider userAgent={userAgent}>
							<CssBaseline enableColorScheme />
							{children}
						</AppContextProvider>
					</ThemeProvider>
				</AppRouterCacheProvider>
			</body>
		</html>
	);
}

"use client";
import { LightColors } from "./LightColors";
import { DarkColors } from "./DarkColors";
import { componentSettings } from "./componentSettings";
import { componentOverrides } from "./componentOverrides";
import { trTR } from "@mui/material/locale";
import { createTheme } from "@mui/material/styles";

export const theme = createTheme(
	{
		cssVariables: { cssVarPrefix: "agc", colorSchemeSelector: "class" },
		colorSchemes: {
			light: {
				palette: { ...LightColors },
			},
			dark: {
				palette: { ...DarkColors },
			},
		},
		...componentSettings,
		components: {
			...componentOverrides,
		},
	},
	trTR
);

"use client";
import { DarkModeRounded, LightModeRounded } from "@mui/icons-material";
import { Button, ButtonGroup } from "@mui/material";
import { useColorScheme } from "@mui/material/styles";
import React from "react";
import { useAppContext } from "src/context/AppContext";

export default function ToggleTheme() {
	const { isMobile } = useAppContext();
	const { mode, setMode } = useColorScheme();
	const [mounted, setMounted] = React.useState(false);

	React.useEffect(() => {
		setMounted(true);
	}, []);

	if (!mounted) {
		return null;
	}
	return (
		<ButtonGroup variant="contained" aria-label="Tema Tercihi" fullWidth={isMobile["down"]["md"] ? true : false} size="medium">
			<Button
				startIcon={<DarkModeRounded />}
				onClick={() => setMode("dark")}
				color={mode === "dark" ? "emerald" : "secondary"}
				variant={mode === "dark" ? "contained" : "outlined"}
				sx={{ borderRightWidth: "0px !important" }}
			>
				Karanlık
			</Button>
			<Button
				startIcon={<LightModeRounded />}
				onClick={() => setMode("light")}
				color={mode === "light" ? "emerald" : "secondary"}
				variant={mode === "light" ? "contained" : "outlined"}
				sx={{
					borderLeftWidth: "0px !important",
				}}
			>
				Aydınlık
			</Button>
		</ButtonGroup>
	);
}


fix: work with falsy values in toggle

[!TIP]
The owner of this PR can publish a preview release by commenting /publish in this PR. Afterwards, anyone can try it out by running pnpm add radashi@pr<PR_NUMBER>.

Summary
Previously, toggle didn't work with falsy values in array toggle([1, 2], 0).
Related issue, if any:

For any code change,

[x] Related documentation has been updated, if needed
[x] Related tests have been added or updated, if needed
[x] Related benchmarks have been added or updated, if needed

Does this PR introduce a breaking change?
It could be a breaking change (even if it's clearly bug). I think it should be released together with https://github.com/radashi-org/radashi/pull/70.

I'm not huge on catering to anyone relying on undocumented behavior. For however many do, there's a hypothetical equal number of users whose code is unknowingly broken without this patch. That means I'd be fine with treating this as a non-breaking change.

Thanks @Minhir!

Resolves https://github.com/sodiray/radash/issues/417


BACKLOG-20096 - Fixed error with JavaScript failing when run in AEL / Spark.

@ccaspanello @baudekin @francisco-guilherme

Build Failed
:x: Something went wrong while validating this pull request.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd site

Stdout log
(last 100 lines)
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.3:features-generate-descriptor (default-features-generate-descriptor) on project repositories-plugin: Unable to create features.xml file: org.apache.maven.plugin.MojoExecutionException: Could not create directory for features file: /home/buildguy/project/plugins/repositories/assemblies/feature/target/feature -> [Help 2]
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on project meta-inject-plugin: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:2.3.7:bundle failed: A Jar can only accept a valid file or directory: /home/buildguy/project/engine/target/classes -> [Help 3]
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.5.3:bundle (default-bundle) on project pdi-engine-configuration-api: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:2.5.3:bundle failed: A Jar can only accept a valid file or directory: /home/buildguy/project/engine/target/classes -> [Help 3]
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.5.3:bundle (default-bundle) on project pdi-engine-configuration-impl: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:2.5.3:bundle failed: A Jar can only accept a valid file or directory: /home/buildguy/project/engine/target/classes -> [Help 3]
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.5.3:bundle (default-bundle) on project pdi-engine-configuration-ui: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:2.5.3:bundle failed: A Jar can only accept a valid file or directory: /home/buildguy/project/engine/target/classes -> [Help 3]
[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:3.0.3:features-generate-descriptor (default-features-generate-descriptor) on project pdi-engine-configuration: Unable to create features.xml file: org.apache.maven.plugin.MojoExecutionException: Could not create directory for features file: /home/buildguy/project/plugins/engine-configuration/assemblies/feature/target/feature -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project get-previous-row-field-core: Error assembling JAR: /home/buildguy/project/plugins/get-previous-row-field/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project get-previous-row-field-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project aggregate-rows-core: Error assembling JAR: /home/buildguy/project/plugins/aggregate-rows/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (create-archive) on project aggregate-rows-plugin: Error reading assemblies: Error locating assembly descriptor: assembly/assembly.xml
[ERROR]
[ERROR] [1] [INFO] Searching for file location: /home/buildguy/project/plugins/aggregate-rows/assemblies/plugin/assembly/assembly.xml
[ERROR]
[ERROR] [2] [INFO] File: /home/buildguy/project/plugins/aggregate-rows/assemblies/plugin/assembly/assembly.xml does not exist.
[ERROR]
[ERROR] [3] [INFO] File: /home/buildguy/project/assembly/assembly.xml does not exist.
[ERROR] -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project elasticsearch-bulk-insert-core: Error assembling JAR: /home/buildguy/project/plugins/elasticsearch-bulk-insert/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (create-archive) on project elasticsearch-bulk-insert-plugin: Error reading assemblies: Error locating assembly descriptor: assembly/assembly.xml
[ERROR]
[ERROR] [1] [INFO] Searching for file location: /home/buildguy/project/plugins/elasticsearch-bulk-insert/assemblies/plugin/assembly/assembly.xml
[ERROR]
[ERROR] [2] [INFO] File: /home/buildguy/project/plugins/elasticsearch-bulk-insert/assemblies/plugin/assembly/assembly.xml does not exist.
[ERROR]
[ERROR] [3] [INFO] File: /home/buildguy/project/assembly/assembly.xml does not exist.
[ERROR] -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project pdi-google-analytics-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/google-analytics/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project pdi-google-analytics-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project gp-bulk-loader-core: Error assembling JAR: /home/buildguy/project/plugins/gp-bulk-loader/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (create-archive) on project gp-bulk-loader-plugin: Error reading assemblies: Error locating assembly descriptor: assembly/assembly.xml
[ERROR]
[ERROR] [1] [INFO] Searching for file location: /home/buildguy/project/plugins/gp-bulk-loader/assemblies/plugin/assembly/assembly.xml
[ERROR]
[ERROR] [2] [INFO] File: /home/buildguy/project/plugins/gp-bulk-loader/assemblies/plugin/assembly/assembly.xml does not exist.
[ERROR]
[ERROR] [3] [INFO] File: /home/buildguy/project/assembly/assembly.xml does not exist.
[ERROR] -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project pentaho-googledrive-vfs-core: Error assembling JAR: /home/buildguy/project/plugins/pentaho-googledrive-vfs/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project pentaho-googledrive-vfs-plugin: Error executing Ant tasks: /home/buildguy/project/plugins/pentaho-googledrive-vfs/assemblies/plugin/target/antrun/build-main.xml (No such file or directory) -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-hl7-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/hl7/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (create-archive) on project kettle-hl7-plugin: Error reading assemblies: Error locating assembly descriptor: assembly/assembly.xml
[ERROR]
[ERROR] [1] [INFO] Searching for file location: /home/buildguy/project/plugins/hl7/assemblies/plugin/assembly/assembly.xml
[ERROR]
[ERROR] [2] [INFO] File: /home/buildguy/project/plugins/hl7/assemblies/plugin/assembly/assembly.xml does not exist.
[ERROR]
[ERROR] [3] [INFO] File: /home/buildguy/project/assembly/assembly.xml does not exist.
[ERROR] -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-drools5-core: Error assembling JAR: /home/buildguy/project/plugins/drools/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-drools5-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-dummy-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/dummy/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-dummy-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-json-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/json/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-json-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-s3csvinput-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/s3csvinput/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-s3csvinput-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-sap-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/sap/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-sap-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-shapefilereader-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/shapefilereader/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-shapefilereader-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-gpload-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/gpload/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-gpload-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-openerp-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/openerp/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-openerp-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-palo-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/palo/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-palo-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project kettle-version-checker-core: Error assembling JAR: /home/buildguy/project/plugins/version-checker/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project kettle-version-checker: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project lucid-db-streaming-loader-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/lucid-db-streaming-loader/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project lucid-db-streaming-loader-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project pdi-salesforce-core: Error assembling JAR: /home/buildguy/project/plugins/salesforce/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:copy-dependencies (add-libs) on project pdi-salesforce-plugin: Error copying artifact from /home/buildguy/.m2/repository/com/force/api/force-partner-api/41.0.0/force-partner-api-41.0.0.jar to /home/buildguy/project/plugins/salesforce/assemblies/plugin/target/assembly/lib/force-partner-api-41.0.0.jar: /home/buildguy/project/plugins/salesforce/assemblies/plugin/target/assembly/lib/force-partner-api-41.0.0.jar (No such file or directory) -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project pdi-pur-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/pur/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project pdi-pur-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project ms-access-bulk-loader-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/ms-access-bulk-loader/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project ms-access-bulk-loader-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:jar (default-jar) on project pdi-xml-plugin-core: Error assembling JAR: /home/buildguy/project/plugins/xml/core/pom.xml isn't a file. -> [Help 2]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (assembly_package) on project pdi-xml-plugin: Error reading assemblies: No assembly descriptors found. -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] [Help 3] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[INFO] Build failures were ignored.
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
	at java.lang.System.initProperties(Native Method)
	at java.lang.System.initializeSystemClass(System.java:1166)

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
/usr/lib/maven/current/bin/mvn: 119: cd: getcwd() failed: No such file or directory
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
	at java.lang.System.initProperties(Native Method)
	at java.lang.System.initializeSystemClass(System.java:1166)

Stderr log
(last 100 lines)
java.lang.Exception: org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl$BuildException: java.io.IOException: Head build returned with code 1
	at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:381)
	at Proxydb7010ba_4c63_496c_a092_7bcd6ef97c89.orchestrate(Unknown Source)
	at org.pentaho.build.buddy.bundles.rest.OrchestratorRestService$1.write(OrchestratorRestService.java:62)
	at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:172)
	at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1381)
	at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)
	at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:120)
	at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:83)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:253)
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
	at org.eclipse.jetty.server.Server.handle(Server.java:499)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl$BuildException: java.io.IOException: Head build returned with code 1
	at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.doOrchestrate(OrchestratorImpl.java:609)
	at org.pentaho.build.buddy.bundles.orchestrator.OrchestratorImpl.orchestrate(OrchestratorImpl.java:364)
	... 41 more
Caused by: java.io.IOException: Head build returned with code 1
	... 43 more

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl '.,engine' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl '.,engine' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl '.,engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  .gitignore
  engine/src/main/java/org/pentaho/di/trans/steps/scriptvalues_mod/ScriptValuesMod.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.job.entries.simpleeval.JobEntrySimpleEval

Branch Change: -0.3% :small_red_triangle_down:
Complexity Change: -0.4% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -3.3% :small_red_triangle_down:
Line Change: -3.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.2% :small_red_triangle_down:
Complexity Change: -0.7% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -2.2% :small_red_triangle_down:
Complexity Change: -2.6% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod

Instruction Change: -0.1% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.www.TransformationMap

Branch Change: -9.1% :small_red_triangle_down:
Complexity Change: -6.2% :small_red_triangle_down:
Instruction Change: -10% :small_red_triangle_down:
Line Change: -10% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

Note: The list of offending coverage changes extends beyond the presented results and was truncated to prevent reaching the comment size limit.

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/engine/src/main/java/org/pentaho/di/trans/steps/scriptvalues_mod/ScriptValuesMod.java

:heavy_exclamation_mark: Line has trailing spaces at Line: 540

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl '.,engine' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl '.,engine' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl '.,engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  .gitignore
  engine/src/main/java/org/pentaho/di/trans/steps/scriptvalues_mod/ScriptValuesMod.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.core.injection.bean.BeanInjector

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1.3% :small_red_triangle_down:

org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -3.3% :small_red_triangle_down:
Line Change: -3.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Method Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod

Instruction Change: -0.1% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.googleanalytics.GaInputStepMeta

Branch Change: -1.9% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:


How to use formReducer?

Please see the documentation here: https://davidkpiano.gitbooks.io/react-redux-form/content/form_reducers.html


[Snyk] Security upgrade debian from 11.5-slim to bullseye-20230109-slim

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

packages/rust-api/Dockerfile

We recommend upgrading to debian:bullseye-20230109-slim, as this image has only 43 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

714
Out-of-bounds Read SNYK-DEBIAN11-LIBTASN16-3061097
No Known Exploit

150
Information Exposure SNYK-DEBIAN11-UTILLINUX-2401081
No Known Exploit

150
Information Exposure SNYK-DEBIAN11-UTILLINUX-2401081
No Known Exploit

150
Information Exposure SNYK-DEBIAN11-UTILLINUX-2401081
No Known Exploit

150
Information Exposure SNYK-DEBIAN11-UTILLINUX-2401081
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

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

done


outdated (0.62.) vllm causes dependency hell

Please, put vllm 0.64 instead of current 0.62, as 0.62 causes dependency hell. Also change from the requirements to build 0.62 yourself to existing pip version

@antonkulaga a few things

We use an ODH fork of vLLM 0.6.2, not 0.62
I'm not sure what dependency issues you are encountering, but there is no present issue with our dependency tree, so this isn't a bug
We have external factors that limits us from just upgrading vLLM on a whim, though we are working to move it to a more recent version, as we've done previously

@n1hility is our Oversight Commitee chair and can help answer any followup questions you might have

@antonkulaga @nathan-weinberg I also experienced a similar issue.
When building the container, it was stuck at this particular line: https://github.com/instructlab/instructlab/blob/main/containers/cuda/Containerfile#L189
Because of that requirement, it took several hours to build the image before it failed (it was endless doing builds for wheels).
I ended up having to swap it out for a pre-compiled-with-cuda version of vllm in order for me to properly build the container.

I ended up having to swap it out for a pre-compiled-with-cuda version of vllm in order for me to properly build the container.

@cdrage could you share the source for this version of vllm?
did that fix the issue for you because it was a more recent version of vLLM, or was it specifically how the ODH fork of vLLM is set up that makes it problematic to build with?


Failure to link against a HIP-library using CMake (HIP_PLATFORM : nvidia)

Hi!
I have been trying to create a shared-library, which uses HIP to enable fast computations with both AMD and NVidia GPUs. I think  that it would be preferable to put the HIP-kernels into header files and the definitions into source-files as usual. This however requires using an option for enabling the 'relocatable device code' (-rdc=true for NVidia). The problem is that I am not able to get the build with CMake to work.
The library files:
kernel.hpp:
#pragma once

#include <hip/hip_runtime.h>

namespace kernel
{
    __device__ void hello();
}

kernel.cpp:
#include "kernel.hpp"
#include <stdio.h>

__device__ void kernel::hello()
{
    printf("Hello HIP\n");
}

libb.hpp:
#pragma once

namespace libb
{
    void printGPUInfo();
}

libb.cpp:
#include "libb.hpp"
#include "kernel.hpp"

#include <hip/hip_runtime.h>

__global__ void mainKernel()
{
    kernel::hello();
}

void libb::printGPUInfo()
{
    mainKernel<<<1,1>>>();
    hipDeviceSynchronize();
}

The main source file main.cpp:
#include "libb.hpp"

int main()
{
    libb::printGPUInfo();
}

By running the commands
hipcc --shared -rdc=true --compiler-options '-fPIC' -o libdyn.so libb.cpp kernel.cpp
hipcc main.cpp -o run -L$(pwd) -ldyn

everything seems to work fine, however I am not able to get it to run with CMake. I built the library inside a directory below (lib/) with the given CMakeLists.txt-file:
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)

project(hiplib)

enable_language(HIP)

set(libb_srcs libb.cpp kernel.cpp)
set_source_files_properties(${libb_srcs} PROPERTIES LANGUAGE HIP)
set_source_files_properties(${libb_srcs} PROPERTIES COMPILE_FLAGS -rdc=true)

add_library(libb SHARED ${libb_srcs})

and then when I tried to link the main-executable against the library libdyn.so,I got the error:
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.so: undefined reference to `__cudaRegisterLinkedBinary_ef17c27b_8_libb_cpp_de10737b'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.so: undefined reference to `__cudaRegisterLinkedBinary_eacc4d77_10_kernel_cpp_7d3f2376'

An analogous problem can be solved in CUDA (https://gist.github.com/gavinb/c993f71cf33d2354515c4452a3f8ef30), by setting specific CMake target properties. The solution didn't work for me with HIP and I am not able to overcome this linker error. Does any one of you have an idea of what might be the fix? Help would be much appreciated!

Can you add these line to your cmake and try again.
set(CMAKE_C_COMPILER hipcc)
set(CMAKE_CXX_COMPILER hipcc)

Thank you for the reply. I tried but got the same error.

I had a chat with the compiler folks, turns out -fgpu-rdc option is supported only with static libs and not dynamic lib.
so it needs to be:
add_library(libb STATIC ${libb_srcs})

This gives me the following errors:
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `hipDeviceSynchronize':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x3ca): undefined reference to `cudaDeviceSynchronize'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `libb::printGPUInfo()':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x44c): undefined reference to `__cudaPushCallConfiguration'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `__cudaUnregisterBinaryUtil()':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x4b0): undefined reference to `__cudaUnregisterFatBinary'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `__nv_init_managed_rt_with_module(void**)':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x4cf): undefined reference to `__cudaInitModule'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `__device_stub__Z10mainKernelv()':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x543): undefined reference to `__cudaPopCallConfiguration'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `__nv_cudaEntityRegisterCallback(void**)':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x650): undefined reference to `__cudaRegisterFunction'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `__sti____cudaRegisterAll()':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x68c): undefined reference to `__cudaRegisterLinkedBinary_ef17c27b_8_libb_cpp_de10737b'
/usr/bin/ld: /home/alastor/tmp/hip_dynlink/lib/build/libdyn.a(libb.cpp.o): in function `cudaError cudaLaunchKernel<char>(char const*, dim3, dim3, void**, unsigned long, CUstream_st*)':
tmpxft_000022dd_00000000-6_libb.cudafe1.cpp:(.text+0x6dd): undefined reference to `cudaLaunchKernel'

Seems like something is still missing from the library?

I had a chat with the compiler folks, turns out -fgpu-rdc option is supported only with static libs and not dynamic lib.
so it needs to be: add_library(libb STATIC ${libb_srcs})

I thought the -fgpu-rdc is an option for the AMD platform? Im on nvidia right now and so the hipcc calls the nvcc CUDA compiler driver as I understand it. That's why I used the CUDA option -rdc=true. In a few days I will get to a computer with AMD GPU and will try there.
For now I got it to work by making the kernels inline and defining them entirely in header files.

Hi @MihkuU, do you still need assistance with this ticket? If not, please close the ticket. Thanks!

Thanks for the reply, for now I have a workaround, so I'll close it.


SOLR-16498: Tests to retrieve url from SolrClient

https://issues.apache.org/jira/browse/SOLR-16498

Description
Some tests are either getting the URL  from legacy/deprecated SolrClient classes or Apache HttpClient instance out of the client. Tests need to  get the URL from the SolrClient in a more general way..
Solution
This is still a work in progress. Created a utility method that interrogates the passed SolrClient and returns the base url.
Tests
Tests are not needed since this PR refactors existing tests.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

For fun, I applied the pattern to another unit test, TestReplicationHandler to see how it looked...   I like that we hid the HttpSolrClient away!   Thoughts @dsmiley ?  Are we on the right track?

@joshgog I got excited about eliminating lots more HttpSolrClient references, and got a lot more done on this branch.   I'm going to wait till I can run a full gradle test before I check in my commits.   I basically kept up the pattern that you started on this, so thanks very much for starting this!   Will hopefully commit tomorrow the work I've done.

@joshgog I'm going to mark this as Ready for Review ;-)

So I see DEFAULT_COLLECTION used in a few places and collection1 hardcoded in others. I think I prefer DEFAULT_COLLECTION if possible to avoid hard coding collection1?

so, DEFAULT_COLLECTION is defined twice in the code base, and as a private variable.    How about we leave this as is, and if you create me a JIRA, I'll happily do anohter PR that focuses on cleaning up all the places we mix "collection1" and "DEFAULT_COLLECTION"??/

My concern was along the lines of the newly added collection1 stuff in this PR specifically.


Updating use-cases to include latest examples

Addition of 2 posts
Kubernetes
Paho (will be coming out later today)
Some additional verbal tidy ups of previous examples
Will be mirrored on agent GitHub

Good job with these summaries.


GCP resource access from a different project

Story
-As a developer, I want to quickly access Google Cloud resources with Fleet Workload Identity from a different project than the on where the Kubernetes cluster is running in order to have a clear ownership of resources.
Background
Currently, we know that Fleet Workload Identity can be configured to access resources from within the same project.
Tasks

[x] Quick POC;
[x] Documentation on who it can be configured;

Configuration is the same as in the #899 story, just using the webhook identity pool from the original project where the cluster is registered. Example and documentation can be found here


Feature Request: Support for pinning digests by image config

Is your feature request related to a problem?
When pinning Docker Digests, updatecli currently uses the architecture-specific digest. We can specify the architecture to use, but we can only specify one at a time (e.g. amd64, the default, or arm64)
Solution you'd like
I recently learned from the illustrious @jonjohnsonjr that we can pin the image index instead of a specific image digest. 🤯
Support for pinning the image index digest would mean that we can reproducibly pin multiarch image versions, without restricting us to single-architecture clusters. This would mean that we're pinning to a digest (and get all the reproducibility benefits of pinning), but that we can also support multiarch images.
Alternatives you've considered
Some viable workarounds are to pin to a specific architecture and use nodeSelector to make sure that the image runs on the correct node (for Kubernetes clusters), use taints/tolerations, or otherwise avoid using mixed-architecture clusters
Anything else?
No response

This is great, I wasn't aware of it.
I guess we need to figure out how to retrieve that information
https://github.com/updatecli/updatecli/blob/c6150b3663dcd144da43f09ea351623f9a90b73b/pkg/plugins/resources/dockerdigest/source.go#L38

You can use remote.Head or remote.Get if you just want the digest.

Thanks everybody for the suggestion here,
I just opened a pullrequest https://github.com/updatecli/updatecli/pull/1712
@jawnsy I made the assumption that if we don't specify an architecture then we retrieve the config digest.
I am wondering if this new behavior could be considered as a regression, I don't think so 🤷🏾


Named parameters

I'd like to be able to pass parameters without prefixes :, $, @ in it's keys.
Now this code fails with INSERT SQLITE_RANGE: bind or column index out of range undefined.
I think it should work.
var sqlite3 = require('sqlite3');
var db = new sqlite3.Database(':memory:');

db.get(
    'CREATE TABLE test (one INT)',
    function (err) {
        db.get(
            'INSERT INTO test VALUES (:one)', {one: 1},
            function clbk (err, row) {
                console.log('INSERT', err && err.message, row);
            }
        );
        db.get(
            'SELECT * FROM test',
            function clbk (err, row) {
                console.log('SELECT', err && err.message, row);
            }
        );
    }
);

crickets

This module seems like it can do it. https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#binding-parameters
Thought JS Proxy would work here, but maybe it doesn't seem like it works with native code.
var handler = {
  get: function(obj, prop) {
    if (prop.length > 1 && (prop.startsWith('@') || prop.startsWith('$') || prop.startsWith(':'))) {
      var newprop = prop.substr(1);
      if (obj.hasOwnProperty(newprop)) {
        return obj[newprop];
      }
    }
    return obj[prop];
  }
};
new Proxy(YourObjectHere, handler)

It's using c module under the hood to handle the object passed into, so proxy will not work here.
FYI, one workaround is to add prefix like $ on your own:
function addPrefix(obj: any) {
  return Object.keys(obj).reduce((x, y) => ({ ...x, [`$${y}`]: obj[y] }), {});
}


Reformat changelog and add missing entry

Adding blank lines and generally aligning CHANGELOG.md with https://www.elastic.co/guide/en/logstash/current/community-maintainer.html plus adding a note for v3.0.1 about the addition of database connection retries.

Thanks for this.  LGTM™


Middlewares: add wildcard pattern support to forwardauth.authResponse…

…Headers

What does this PR do?
fixes #6823
Motivation
described in #6823
More

[x] Added/updated tests
[x] Added/updated documentation

One addition to current implementation:
For dealing with headers I think supporting only ? and * symbols could be enough. If so I could suggest my package, that has limitations to supported symbols but it's Match function works 3.37 times faster than filepath's one.
If maintainers are OK with that, I could add it to current PR.

@iamolegga Hi.
We think your use-case and the feature you're asking for are justified, and something like that would be nice indeed.
Now about the implementation: your title and comment says wildcard, but AFAICS, the PR would allow support for full-featured globbing as supported by the stdlib, right? so it is not just for suffixes, but patterns like "X-*-Foo" would work too, correct?
I'm asking because we wouldn't want something that only half-implements globbing, as it may support your use-case, but would be useless for other users expecting full-featured globbing.
If yes, then there's still the question of whether globbing is not conflicting with headers contents. Have you thoroughly checked that none of the globbing characters (*, ?, ^, [, ], ... am I forgetting something?) are allowed in a header key?

Now about the implementation: your title and comment says wildcard, but AFAICS, the PR would allow support for full-featured globbing as supported by the stdlib, right? so it is not just for suffixes, but patterns like "X-*-Foo" would work too, correct?

Yes

I'm asking because we wouldn't want something that only half-implements globbing, as it may support your use-case, but would be useless for other users expecting full-featured globbing.

Sure, that's why I preferred to implement this PR at start with built-in filepath.Match that is support all glob symbols.

If yes, then there's still the question of whether globbing is not conflicting with headers contents. Have you thoroughly checked that none of the globbing characters (*, ?, ^, [, ], ... am I forgetting something?) are allowed in a header key?

As I understand from [1] [2] header keys can have special symbols ^ and * (please correct me, if I'm wrong). But I think it should not conflict with those names, anyway, just a fast check shows next result: https://play.golang.org/p/EjgFM8PJcz8, so glob patterns are correct when checking those special characters, and there should be no problems

Now about the implementation: your title and comment says wildcard, but AFAICS, the PR would allow support for full-featured globbing as supported by the stdlib, right? so it is not just for suffixes, but patterns like "X-*-Foo" would work too, correct?

Yes

I'm asking because we wouldn't want something that only half-implements globbing, as it may support your use-case, but would be useless for other users expecting full-featured globbing.

Sure, that's why I preferred to implement this PR at start with built-in filepath.Match that is support all glob symbols.

If yes, then there's still the question of whether globbing is not conflicting with headers contents. Have you thoroughly checked that none of the globbing characters (*, ?, ^, [, ], ... am I forgetting something?) are allowed in a header key?

As I understand from [1] [2] header keys can have special symbols ^ and * (please correct me, if I'm wrong). But I think it should not conflict with those names, anyway, just a fast check shows next result: https://play.golang.org/p/EjgFM8PJcz8, so glob patterns are correct when checking those special characters, and there should be no problems

Ok, we are still on the fence but it sounds reasonable to me in theory. Our main concern now is there might be some edge cases where the pattern one writes matches some headers that one did not intend to match. Maybe we would feel more at ease with it if we had many more examples of different cases, to help make sure we're not forgetting about a weird case. Do you think you could spend more time writing such test cases?

Do you think you could spend more time writing such test cases?

@mpl Sure, I could add more tests, but I hardly understand what cases you want there to be added 🙂 Because from my point of view current test case is already checks that glob pattern is applied successfully with expected result and I think it could be enough. More examples will not add any value because they will just check filepath.Match for some pattern-value pairs, and that is not our goal.
But anyway, if I'm wrong and you could add more explanation on that I'm totally fine to add such tests. Thanks! 🙂

Do you think you could spend more time writing such test cases?

@mpl Sure, I could add more tests, but I hardly understand what cases you want there to be added 🙂 Because from my point of view current test case is already checks that glob pattern is applied successfully with expected result and I think it could be enough. More examples will not add any value because they will just check filepath.Match for some pattern-value pairs, and that is not our goal.

Yes, the goal is not to add some tests just for the sake of it. I was suggesting that because if I wanted to find out weird cases that demonstrate that globbing is a bad idea when the input is a header key, I think I would write more examples and tests to give me ideas and inspiration.

But anyway, if I'm wrong and you could add more explanation on that I'm totally fine to add such tests. Thanks! 🙂

If I already knew what kind of cases might be problematic I wouldn't ask you to look for them ;)
It is just a suspicion some of us in the team are having that globbing might not be suitable for header keys, and we think we should think a bit harder about it before going further with the implementation.

If I already knew what kind of cases might be problematic I wouldn't ask you to look for them ;)

ok, got you now, but unfortunately I don't see any problem with globbing here 🤷♂

It is just a suspicion some of us in the team are having that globbing might not be suitable for header keys

But I described the the case in issue already. So, do I understand correctly that I should just wait now for the final decision of the team? 🙄

If I already knew what kind of cases might be problematic I wouldn't ask you to look for them ;)

ok, I got you now, but unfortunately I don't see any problem with globbing here 🤷♂

It is just a suspicion some of us in the team are having that globbing might not be suitable for header keys

But I described the the case in issue already. So, do I understand correctly that I should just wait now for the final decision of the team? 🙄

yes, we need a bit more time to think about it.

Thanks @mpl, if it needs some more improvements just let me know

To keep you updated, there are several things to consider about this PR, before we can move forward:

first of all, as it is it might be breaking, because if some user was already matching a header specifically containing one of the special characters (e.g. "*"), then the meaning of their config will suddenly change, and it might start matching things they didn't previously intend to match.

one of the solutions for that particular problem would be to add/use another field, instead of changing the meaning of authResponseHeaders

secondly, even if globbing addresses your particular problem, it is a limited response. And if another user comes along later and needs something more powerfull, such as regexes, again we'll be stuck because we won't be able to change the syntax from globbing to regexes without breaking existing users (such as you).

again that could be addressed if we used other specific fields for each syntax, but it could get cumbersome to support both globbing and regexes for the same feature, so we'd rather avoid that.

Finally, there's also the argument of existing practices and familiarity in the config. We already make use of regexes in several places, and even sometimes of a specific syntax, but nowhere do we use globbing. So we are worried it could be a confusing change in that respect.

To sum up, we need to consider and decide 1) if we want to use another field instead of directly authResponseHeaders 2) if we want to use another matching system instead of globbing. It could be regexp, or it could be another made up system entirely (probably something simple like a boolean matching of HasPrefix, HasSuffix, Contains).

@mpl Thanks you for such detailed response. My thoughts:
if traefik is using regexp in some config fields already and we want to keep consistency I could change PR to use regexp, that's not a problem for me.
Adding new property for that is also good from my point of view.
So if your final decision is using regexp and adding new property, please just say how to name it, and I'll update this PR.

@iamolegga yes, we're leaning towards regexp + a new field, as it seems the safest. So if you want to implement that solution, feel free to go about it. We haven't thought about the name of the new field yet, but we can discuss/change that later if need be.

@mpl cool, thanks! I think I'll start with just adding Regex to the end of authResponseHeaders so it will be authResponseHeadersRegex just as RedirectRegex is named for example. I'll try to update this PR soon

Hi @iamolegga ,
Do you think you will have the time to work on this?

Hi, sorry for waiting so long. Yes, I am definitely going to update this in two weeks 🙏

Great, thanks!

Hi, sorry for long waiting, I've just created new pr #7449 , closing this in favour of new one


Make RedisInsight work with WithLifetime(...).

Description
With this PR, when using WithRedisInsight(...) the list of databases will be fetched from the RedisInsight instance and where they overlap with the names of the Redis Instances running already it will delete them so that the subsequent import won't result in duplicated entries.
Fixes #6111
Checklist

Is this feature complete?

[x] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[ ] Yes
[ ] No

Did you add public API?

[ ] Yes

If yes, did you have an API Review for it?

[ ] Yes
[ ] No

Did you add <remarks /> and <code /> elements on your triple slash comments?

[ ] Yes
[ ] No

[x] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[x] No

Does the change require an update in our Aspire docs?

[ ] Yes

Link to aspire-docs issue:

[x] No

Microsoft Reviewers: Open in CodeFlow

Can you add some tests for this?

@eerhardt working on it. Turns out we don't have any tests for WithLifetime(...) so I'm having to tackle a few first of a kind problems:

ResourceNameSuffix variations whilst under test.
Cleaning up "persistent" containers after the test.

OK for the time being I've done a bit of a hack to make sure we have test coverage here. See the introduction of ApplicationExecutorProxy. Check out https://github.com/dotnet/aspire/issues/6455 for more details on what I think the post 9.0 solution should look like.

/backport to release/9.0


inst2dict and dict2inst fail in compiled version of game

Godot version:

v3.1.1.stable.official
OS/device including version:

Windows 10
Issue description:

Attempting to use inst2dict and dict2inst to serialize an object works perfectly in editor but fails in the compiled version of the game. Game does not crash, but the behaviour fails and the console logs this error: console.png
It appears to be confused about .gd files vs .gdc files.
Steps to reproduce:
Will try later, had to leave but wanted to post in case I'm crazy.
Create a new project. Create a basic object with some simple fields, floats, arrays, ints, etc.
Use inst2dict and/or dict2inst.
Run in editor.
Run compiled as an .exe windows application.
Look at console in compiled version.
Minimal reproduction project:

Will make one later, just wanted to post ASAP.

Likely related to the fact that certain methods are only present in debug mode, also (de)serializing objects/scripts could be a culprit. Also could fail if serializing at res:// path?

@Xrayez It does seem to be using paths to serialize and deserialize the object. My objective is simply to efficiently send all the data of an object to other players in a network without having to constantly go back and modifiy the data sending every time I add to this object in the future. I.e. if and when I add another field to the object I don't want to have to edit the serialization and deserialization each time. Is there a better way to do this? Perhaps somehow iterating over the fields in an object and deconstructing and reconstructing them in an array? I also want to ensure it's quick especially being sent over a network.

I think you and me want to achieve this: #16793.
My previous approach was indeed using inst2dict and dict2inst to do this, and I've also encountered some inconveniences with it:  #6533, https://github.com/Xrayez/godot/commit/74ffc1a3c9c54534145460e5f53e357ec0a608a8
What I've come up is essentially gathering those properties I'm interested in synchronizing over the network. So I define get_properties for each node type to return a dictionary defining how and when those should be replicated.
Also see cautions tale described in #27485 about object serialization (pertains to encoding).

That would be awesome to implement. If I wasn't new at networking and I had more time I might be tempted to collaborate on it. Unfortunately I'll probably have to do it more by hand. Thank you for the references!

I couldn't reproduce, inst2dict/dict2inst doesn't fail on their own, but the @path dict property is not cross-compatible between editor/exported project as seen in #26188.