Request vehicle hub

Hello, is it possible to emulate the vehicle hub Electronics with this Receiver? 400 bucks for some rods, cloth, hinges is s bit expensive. So a diy solhtion to make your working own one would be great.

Original Vehicle Hub has a separate receiver dongle directly connected to the PC.
Yes, emulation of it is also possible, although in the reality it's really minor part of the cost there. I agree if you are good with DIY you may try to make something yourself, but then why do you bother with treadmill? :D
You'll need both, sender and receiver parts, detection of the open/close state change and good luck with tweaking power consumption of the sender there...
I personally don't have interest in building these, but happy to help if you want to try build something. Contact be at @gmail.com address if you need an assistance.

Hello there, thanks for your reply. ok i understand. maybe ill just build one without the electronics first and look how it turns out.
building the whole treadmill by myself is kind of komplex :) and then you need the sensor stuff and something that works with the games ... but kat has everything out of the box ;D


Minor: adding copy assignment operator for AsyncStream

Commit Message: The copy assignment operator is being invoked for AsyncStream implicitly. Explicitly request it.
Additional Description:
Detected due to a fuzz build failure when using clang 14.
Risk Level: Low.
Testing: N/A.
Docs Changes: N/A.
Release Notes: N/A.
Platform Specific Features: N/A.
Signed-off-by: Adi Suissa-Peleg<EMAIL_ADDRESS>

/assign @asraa
/cc @KBaichoo


MirroredStrategy() getting stuck at optimizer level when calling apply_gradients with tf2.16.2

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
tf 2.16.2
Custom code
Yes
OS platform and distribution
Linux Ubuntu 22, MacOS M1, MacOS Intel chip
Mobile device
No response
Python version
3.11
Bazel version
7.2.1
GCC/compiler version
14.0.3
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
The code will get stuck when applying gradients with the optimizer with both tf.keras.optimizers.legacy.Adam and tf.keras.optimizers.Adam
Standalone code to reproduce the issue
# You can reproduce the problem by running the example in the documentation https://www.tensorflow.org/tutorials/distribute/custom_training
# Import TensorFlow
import os

# Helper libraries
import numpy as np
import tensorflow as tf

print(tf.__version__)

def main():
    fashion_mnist = tf.keras.datasets.fashion_mnist

    (train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data()

    # Add a dimension to the array -> new shape == (28, 28, 1)
    # This is done because the first layer in our model is a convolutional
    # layer and it requires a 4D input (batch_size, height, width, channels).
    # batch_size dimension will be added later on.
    train_images = train_images[..., None]
    test_images = test_images[..., None]

    # Scale the images to the [0, 1] range.
    train_images = train_images / np.float32(255)
    test_images = test_images / np.float32(255)

    # If the list of devices is not specified in
    # `tf.distribute.MirroredStrategy` constructor, they will be auto-detected.
    strategy = tf.distribute.MirroredStrategy(["/cpu:0", "/cpu:1"])
    print("Number of devices: {}".format(strategy.num_replicas_in_sync))

    BUFFER_SIZE = len(train_images)

    BATCH_SIZE_PER_REPLICA = 64
    GLOBAL_BATCH_SIZE = BATCH_SIZE_PER_REPLICA * strategy.num_replicas_in_sync

    EPOCHS = 10

    train_dataset = (
        tf.data.Dataset.from_tensor_slices((train_images, train_labels)).shuffle(BUFFER_SIZE).batch(GLOBAL_BATCH_SIZE)
    )
    test_dataset = tf.data.Dataset.from_tensor_slices((test_images, test_labels)).batch(GLOBAL_BATCH_SIZE)

    train_dist_dataset = strategy.experimental_distribute_dataset(train_dataset)
    test_dist_dataset = strategy.experimental_distribute_dataset(test_dataset)

    def create_model():
        regularizer = tf.keras.regularizers.L2(1e-5)
        model = tf.keras.Sequential(
            [
                tf.keras.layers.Conv2D(32, 3, activation="relu", kernel_regularizer=regularizer),
                tf.keras.layers.MaxPooling2D(),
                tf.keras.layers.Conv2D(64, 3, activation="relu", kernel_regularizer=regularizer),
                tf.keras.layers.MaxPooling2D(),
                tf.keras.layers.Flatten(),
                tf.keras.layers.Dense(64, activation="relu", kernel_regularizer=regularizer),
                tf.keras.layers.Dense(10, kernel_regularizer=regularizer),
            ]
        )

        return model

    # Create a checkpoint directory to store the checkpoints.
    checkpoint_dir = "./training_checkpoints"
    checkpoint_prefix = os.path.join(checkpoint_dir, "ckpt")

    with strategy.scope():
        # Set reduction to `NONE` so you can do the reduction yourself.
        loss_object = tf.keras.losses.SparseCategoricalCrossentropy(
            from_logits=True, reduction=tf.keras.losses.Reduction.NONE
        )

        def compute_loss(labels, predictions, model_losses):
            per_example_loss = loss_object(labels, predictions)
            loss = tf.nn.compute_average_loss(per_example_loss)
            if model_losses:
                loss += tf.nn.scale_regularization_loss(tf.add_n(model_losses))
            return loss

    with strategy.scope():
        test_loss = tf.keras.metrics.Mean(name="test_loss")

        train_accuracy = tf.keras.metrics.SparseCategoricalAccuracy(name="train_accuracy")
        test_accuracy = tf.keras.metrics.SparseCategoricalAccuracy(name="test_accuracy")

    # A model, an optimizer, and a checkpoint must be created under `strategy.scope`.
    with strategy.scope():
        model = create_model()

        optimizer = tf.keras.optimizers.legacy.Adam(learning_rate=0.001)

        checkpoint = tf.train.Checkpoint(optimizer=optimizer, model=model)

    def train_step(inputs):
        images, labels = inputs

        with tf.GradientTape() as tape:
            predictions = model(images, training=True)
            loss = compute_loss(labels, predictions, model.losses)

        gradients = tape.gradient(loss, model.trainable_variables)
        optimizer.apply_gradients(zip(gradients, model.trainable_variables))

        train_accuracy.update_state(labels, predictions)
        return loss

    def test_step(inputs):
        images, labels = inputs

        predictions = model(images, training=False)
        t_loss = loss_object(labels, predictions)

        test_loss.update_state(t_loss)
        test_accuracy.update_state(labels, predictions)

    # `run` replicates the provided computation and runs it
    # with the distributed input.
    @tf.function
    def distributed_train_step(dataset_inputs):
        per_replica_losses = strategy.run(train_step, args=(dataset_inputs,))
        return strategy.reduce(tf.distribute.ReduceOp.SUM, per_replica_losses, axis=None)

    @tf.function
    def distributed_test_step(dataset_inputs):
        return strategy.run(test_step, args=(dataset_inputs,))

    for epoch in range(EPOCHS):
        # TRAIN LOOP
        total_loss = 0.0
        num_batches = 0
        for x in train_dist_dataset:
            total_loss += distributed_train_step(x)
            num_batches += 1
        train_loss = total_loss / num_batches

        # TEST LOOP
        for x in test_dist_dataset:
            distributed_test_step(x)

        if epoch % 2 == 0:
            checkpoint.save(checkpoint_prefix)

        template = "Epoch {}, Loss: {}, Accuracy: {}, Test Loss: {}, " "Test Accuracy: {}"
        print(
            template.format(
                epoch + 1, train_loss, train_accuracy.result() * 100, test_loss.result(), test_accuracy.result() * 100
            )
        )

        test_loss.reset_states()
        train_accuracy.reset_states()
        test_accuracy.reset_states()

    eval_accuracy = tf.keras.metrics.SparseCategoricalAccuracy(name="eval_accuracy")

    new_model = create_model()
    new_optimizer = tf.keras.optimizers.Adam()

    test_dataset = tf.data.Dataset.from_tensor_slices((test_images, test_labels)).batch(GLOBAL_BATCH_SIZE)

if __name__ == "__main__":
    main()

Relevant log output
No response

@grep-mb,
Looks like this issue is happening with the tensorflow v2.16, 2.17 which contains the keras3.0 by default causing the issue. Could you please raise the issue in keras-team/keras repo for the quick resolution. Also there is a similar issue in the keras repo which is in open state. Thank you!


Refactors

great!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

100 of 100 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+8.1%) to 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
8.1%

Covered Lines:
363

Relevant Lines:
363

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

103 of 103 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+8.1%) to 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
8.1%

Covered Lines:
363

Relevant Lines:
363

💛  - Coveralls


ApiTest. new tests

Tags:
method PUT /tag

[x] add a tag for incoming resources if the user has permission
[x] create tag in the incoming share
[x] create tag as space member if you have permisiions

method GET /tag

user has tag and can find by tag if

[x] he created tag

[x] he has accepted share with tag

[x] he is member of the project space where tag uses

[x] he restores resource with tag from trash bin

user hasn't tag and cannot find by tag if

[x] last tag was deleted from resource

[x] last resource with tag was deleted

[x] share was declined or removed

method DELETE /tag

user can delete tag if
[x] he is creator
[x] he has share with edit permission
[x] he is member of the space with edit permissions

https://github.com/owncloud/ocis/pull/5391 and https://github.com/owncloud/ocis/pull/5417
Sharing space to group. Add more corner cases

[x] Share space to group and check response https://github.com/owncloud/ocis/pull/5492
[x] Delete group from space #5365
[x] increases permissions for one member of the group #5536

Expiration date for share

[x] create share with expiration date https://github.com/owncloud/ocis/pull/5424
[x] change expiration date https://github.com/owncloud/ocis/pull/5424
[x] delete expiration date https://github.com/owncloud/ocis/pull/5537
[ ] check the end of expiration date like:  @SwikritiT https://github.com/owncloud/core/blob/9cd6e8949d910e1085edc63ff92ffdf61488bceb/tests/acceptance/features/bootstrap/Sharing.php#L4037
https://github.com/owncloud/testing/blob/master/lib/ExpireShare.php

Re-share resource with expiration date

[ ]

Expiration date for share space

[x] create share with expiration date https://github.com/owncloud/ocis/pull/5562
[x] change expiration date https://github.com/owncloud/ocis/pull/5605
[x] delete expiration date https://github.com/owncloud/ocis/pull/5606
[ ] check the end of expiration date

In the case of checking the end of the expiry date doing it as we did in core with the testing app might not be possible for us in ocis. Previously I completely overlooked the fact that in testing app administrator internally changes the expiration date of a share of the respective user and set the expiration to yesterday.
https://github.com/owncloud/testing/blob/6965caa176d83df8f5111aa64e91c1de34ce48e0/lib/ExpireShare.php#L43
https://github.com/owncloud/testing/blob/6965caa176d83df8f5111aa64e91c1de34ce48e0/lib/ExpireShare.php#L53
https://github.com/owncloud/testing/blob/6965caa176d83df8f5111aa64e91c1de34ce48e0/lib/ExpireShare.php#L76
@ScharfViktor should we go with what you initially mentioned setting the expiration date of 1min nad letting that time pass and then checking if the share has expired?

Also, I couldn't determine what should be the format of the expiration date. When I send the curl request with expiration date format 2023-03-23T23:59:59.999+05:45 like sent from the UI
I get
{"ocs":{"meta":{"status":"error","statuscode":400,"message":"could not parse expireDate"}}}

If I just send the date it also gives me
{"ocs":{"meta":{"status":"error","statuscode":400,"message":"could not parse expireDate"}}}

This format works on the tests 2042-01-01T23:59:59+0100 but not with curl or postman.
So what exactly should the format be like?
cc @ScharfViktor

This format works on the tests 2042-01-01T23:59:59+0100 but not with curl or postman. So what exactly should the format be like?

I don't have an answer to that question either. see #5452

@ScharfViktor should we go with what you initially mentioned setting the expiration date of 1min and letting that time pass and then checking if the share has expired?

We can, but timing is not good solution. Probably we can create method-helper which will change date to yesterday.
I checked and it works in ocis:
curl --location --request PUT 'https://host.docker.internal:9200/ocs/v1.php/apps/files_sharing/api/v1/shares/shareId' \
--form 'expireDate="2023-02-10T23:59:59.999+01:00"' \
--form 'role="viewer"'

when I tried to set the date time to yesterday (through tests) , the status code was 200 but the date wasn't changed. but i tried it with the space , I'll try it again and see how it goes.

@ScharfViktor should we go with what you initially mentioned setting the expiration date of 1min and letting that time pass and then checking if the share has expired?

We can, but timing is not good solution. Probably we can create method-helper which will change date to yesterday.
I checked and it works in ocis:
curl --location --request PUT 'https://host.docker.internal:9200/ocs/v1.php/apps/files_sharing/api/v1/shares/shareId' \
--form 'expireDate="2023-02-10T23:59:59.999+01:00"' \
--form 'role="viewer"'

Hi @ScharfViktor yes it works for both resource and space. Maybe I did something wrong previously

closed as complited


Fix FrozenError in Rails tests

Rails does not support multiple application instances (per process), and, since transitioning to Zeitwerk, calling initialize! on additional application instances raises a "FrozenError: can't modify frozen Array" error.  (See rails/rails#42319 for more information.)
This commit makes each TestFlyRails and TestBadEnv test run in its own process so that there is only one application instance per process.
This also prevents the environment variables set in TestFlyRails#setup from affecting other (randomly ordered) tests, such as TestBadEnv#test_middleware_skipped_without_required_env_vars.

Nice! I was wondering what was up there.


chore(stylelint): Only allow rem for font-size.

REM units align with what the specification uses as sp closest. So we uses rem in order to adjust
to client font size changes.

💎 LGTM thanks @Garbee!


Interpolation search

Aim

searching an element in an array very efficiently than the binary search

Details

in very less number of comparisons we can get the element index

Programming language

[ ] C
[ ] C++
[ ] Java
. Python

can you assign this to me in python #422

could you assign this to me in python #422

Hey @Ayush7614  would you please assign me this in C++ Language

Aim

searching an element in an array very efficiently than the binary search

Details

in very less number of comparisons we can get the element index

Programming language

[ ]  C
[x]  C++
[ ]  Java
[ ] Python

@Amit366 can you assign me this in C language under LGM-SOC'21?

could you assign me the above statement in java under LGM-SOC'21


Apparent Issue with Precompilation for Dependent Packages

Edit: Actually, this issue happens even if I don't use Revise.jl! I think the @eval line somehow breaks precompilation?
I'm developing a new package, AstrophysicalCalculations, which depends on DynamicQuantities, and I'm using Revise to assist with that development. When I enter using Revise, AstrophysicalCalculations, I get the error shown below. I believe that the @eval line in symbolic_dimensions.jl:215 makes using Revise impossible for dependent packages. I could be wrong / using this incorrectly, and this issue may be unresolvable, but I wanted to post this issue for awareness. Thank you for DynamicQuantities.jl!
The line where my package fails: src/src/StellarObservations.jl:111.

ERROR: LoadError: Evaluation into the closed module `SymbolicUnitsParse` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `SymbolicUnitsParse` with `eval` during precompilation - don't do this.

Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base ./loading.jl:2300
 [3] compilecache
   @ ./loading.jl:2167 [inlined]
 [4] _require(pkg::Base.PkgId, env::String)
   @ Base ./loading.jl:1805
 [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
   @ Base ./loading.jl:1660
 [6] macro expansion
   @ ./loading.jl:1648 [inlined]
 [7] macro expansion
   @ ./lock.jl:267 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1611

Hi @cadojo,
Thanks for the report. Excited to hear about the package you are making!
Is this Julia 1.10? Does it go away on Julia 1.9?
One thing to note is that the SymbolicDimensions symbols (e.g., us"m") don’t exist during precompilation. The reason for this is that there are so many, it makes startup time slow unless you are using them. So I wonder if it’s related to that.
Best,
Miles

The quick fix would be to change
+ flux_distance(m, M) = 10^((m - M + 5) // 5) * u"Constants.pc"
- flux_distance(m, M) = 10^((m - M + 5) // 5) * us"Constants.pc"

us (SymbolicDimensions) is intended to be for display, whereas u (Dimensions) is intended to be for calculations.

Thanks Miles! I did change all instances of us"Constants.pc" to just Constants.pc, and that worked also. I'm using Julia 1.9 — my versioninfo() is shown below.
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores

Awesome. Okay I think we should go with that, what do you think? Then for display, I think @gaurav-arya has a good strategy proposed in https://github.com/SymbolicML/DynamicQuantities.jl/pull/48
Basically, one can display units with as_u (name pending) e.g.,
u"Constants.pc" / 0.05 |> as_u(us"Constants.kpc)

which would display 0.02 kpc, even though the calculation happens with the faster Dimensions.

Works for me, and I like the unit conversion feature and syntax. The |> is convenient. I also like the Unitful.uconvert syntax, I see some benefit to having multiple different methods for as_u so there are different options for converting one quantity's units to another: as_u(u"km", 100u"m") or 100u"m" |> as_u(u"km").
So all of this is good for display and for my purposes, but could this issue pop up again? If I understand correctly, symbolic units can't be used in any Julia package, because they're created on-the-fly. With native code cacheing in Julia v1.9 and later, I wonder how much slower the package would be if all of the symbolic units are created at once? If no one has done that experiment yet, and if there's interest in the future, I'd be interested in trying that out.

Okay now this issue is fixed for real – please try it out! You can do, e.g.,
const my_unit = us"ohm"

just fine, and precompilation should be good


Missing support for tables in Markdown

Unfortunately README.md file containing tables won't be rendered correctly. That feature is really important in Automated Builds workflow.
More about tables in markdown cheetsheet: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#tables

This is a hub feature (this here is just the open-source registry).
Please report your request to https://support.docker.com
Thanks.


overlapblock Creator - Web design #46

https://images01.nicepagecdn.com/page/42/59/html-template-42597.jpg Design a overlapblock like the above image
Create a file "overlapblock_NUM_by_(YourName).html" in the modules/overlapblock folder.
Use simple HTML and CSS and JAVASCRIPT to create the overlapblock animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "overlapblock_NUM_YOUR_NAME_.html" in the "modules/overlapblock" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/overlapblock/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

@NtemKenyor  Hey ! I'm interested in working on this issue could u please assign me this :)

Hey @NtemKenyor Is this Issue open? I am interested to work on this issue.

Is this issue supposed to be assigned to us or we can create the pull request right away?

@NtemKenyor Can you please assign this to me

@NtemKenyor Can you please check my code and accept my pull request.


Generate Default impl for shader uniform blocks

When vulkano_shaders generates Rust data types for each uniform block in the shader, it would be useful if it could also generate an implementation of Default for those types. That way, they can be initialised without knowing all the values up front. And more importantly, the user can skip having to initialise "dummy" values that are only for padding and don't matter otherwise.

@Rua This issue resolved in #1460 .


CANCEL button wrapping strangely on Android

Is there any way to control the layout of the CANCEL / OK buttons on Android. I am having a rather strange issue where the L in cancel is wrapping to a new line. See attached.

Anything?

is there no way to set size or styling for these buttons?


[6.1] port version & upgrade matrix changes

This is a forward port of the work in #1179 and #1195 to our 6.1.x LTS.  The main purpose of this is to improve our PR & nightly build coverage scenarios.  This contributes substantially to https://github.com/gravitational/robotest/issues/155.
Testing Done:
walt@work:~/git/gravity$ make get-version
6.1.19-dev.11

I have not tried to run this robotest config in a try build (for either nightly or the PR build) because I didn't believe it an effective use of time, based on the level of testing I did for #1179 and #1195.  If we see failures or significant feedback I'll come back and dig into this testing.

Not sure why this picked up @alex-kovoy and @gravitational/codeowners-gravity-web as reviewers.  It happened when I switched from master -> version/6.1.x as the target of this PR.  There isn't anything web related in it.

CI failure is from a variety of upgrades scenarios:
5.5.36 -> this build
5.5.19 -> this build
5.5.37 -> this build
5.5.36 -> this build
5.5.36 -> this build

.19 and .37 also have passes, so potentially this is flaky behavior.  The symptom in all 5 failures is:
after the upgrade gravity status shows "failed_probes":["kube-apiserver.service (failed)"] for one or more nodes.
Digging in further now.

#1209 did not manifest on a run after my rebase at the end of last week.  I'm gonna assume this is a preexisting flakey/intermittent issue, and use the green run to merge.


[AutoPR storage/resource-manager] [Storage] Remove Encryption service support as feature team required.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2432

Codecov Report

Merging #1913 into restapi_auto_storage/resource-manager will increase coverage by <.01%.
The diff coverage is 100%.

@@                            Coverage Diff                            @@
##           restapi_auto_storage/resource-manager    #1913      +/-   ##
=========================================================================
+ Coverage                                   52.9%   52.91%   +<.01%
=========================================================================
  Files                                       4698     4699       +1
  Lines                                     116020   116027       +7
=========================================================================
+ Hits                                       61383    61390       +7
  Misses                                     54637    54637

Impacted Files
Coverage Δ

..._10_01/models/storage_account_update_parameters.py
100% <ø> (ø)
:arrow_up:

..._10_01/models/storage_account_create_parameters.py
100% <ø> (ø)
:arrow_up:

.../azure/mgmt/storage/v2017_10_01/models/__init__.py
100% <100%> (ø)
:arrow_up:

...torage/v2017_10_01/models/encryption_key_source.py
100% <100%> (ø)

...zure/mgmt/storage/v2017_10_01/models/encryption.py
100% <100%> (ø)
:arrow_up:

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 b0f1bbb...6d9cf78. Read the comment docs.

Reaplced by https://github.com/Azure/azure-sdk-for-python/pull/2025


I'm waiting 1 hour for a runner

https://github.com/NeuroDesk/neurocontainers/actions/runs/4570666289/jobs/8068234844
Just wonder if it's normal or related to the bug in cirun you mentioned before?
In the future, how long should I wait before letting you know of issues with runners being scheduled?

Yes, this is the bug again. The runner should start within 5 minutes.

It's now all done.


Password length requirements being applied to hashed password

Description and expected behavior
password      String    @length(min: 8, max: 32) @password @omit
When I do the above and pass an 8 character long password the validation seems to happen against the hashed password as I get the following error back from the API.
I expect the validation on length to be done on unhashed password. This currently prevents any server side validation being applied to a length of a password and without this validation it allows an empty password to be created with an account
Screenshots

Environment (please complete the following information):

ZenStack version: 2.02
Prisma version: 5.13
Database type: Postgresql

Additional context
Ideally this validation can just be applied to the @password field as another param called minLength

Hi @ranjez , yes, it's a known problem that @length doesn't play well with @password. I'll think about how to resolve this problem.


Allow excluding IoT CRDs during Ansible installation (fixes #5046)

Type of change

Enhancement / new feature

Description

Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@ctron tested locally and had to fix a couple of bugs.   it would for me now.

right now this PR does not makes sense why we set defaults to enable iot?

right now this PR does not makes sense why we set defaults to enable iot?

why would the default be to disable?  If I install from yaml bundle or OLM, I get IoT.  If I install from Ansible, I would expect the same.   We've added the option so that users of Ansible can elect to disable.  I don't think it should be the default.

@k-wall because ansible is used only by integratly I think, and for testing they use our defaults inventory files, so it will cause troubles I guess if we change old behavior

@kornys - I'm just arguing against a change in the behaviour of of our release.  Previous releases defaulted to install IoT, so we should not break that.   If users such as Integrately need to disable the IoT install, they will have to create their own inventory - or pass additional options to the ansible-playbook command line to inject additional parameters.

Release-0.33 branch was renamed to master: Please re-create PR against master branch.


Integrate unsafe counts from cargo-geiger

https://github.com/anderejd/cargo-geiger/issues/30#issuecomment-453201985

Done on master. Please test!


Update to FPDF 1.81

Hi,
do you have any plans to update to the current FPDF version (1.81)? I could offer a pull request if you'd lile ;-)

I created my own version incl. Fpdf 1.81: https://github.com/codedge/laravel-fpdf


usage of previously freed memory

tnt_reply_free(reply);
throw std::runtime_error(reply->error);

You'd prefer unique_ptr with custom deleter (it's zero cost compared to raw pointers)
using tnt_s_stream = std::unique_ptr<struct tnt_stream, void(*)(struct tnt_stream*)>;
using tnt_s_request = std::unique_ptr<struct tnt_request, void(*)(struct tnt_request*)>;
using tnt_s_reply = std::unique_ptr<struct tnt_reply, void(*)(struct tnt_reply*)>;
...
tnt_s_stream stream{tnt_object(nullptr), tnt_stream_free};
tnt_s_request request(tnt_request_call(nullptr), tnt_request_free);
tnt_s_reply reply{tnt_reply_init(nullptr), tnt_reply_free};

to avoid all the following leakage risks and simplify the code.
You have CMAKE_CXX_STANDARD 17 but use boost (?). std::optional is in standard library since C++17.

Hello, thank you
I will wrap c structs
Yes, I am. I know about optional, but I had the task from my boss)
std::optional, std::map (unordered too), std::pair, std::list (all types) stream methods would be done as soon as possible.

I beg your pardon for offtop
Take a look at https://github.com/parihaaraka/pgpp
It contains db-agnostic dbpool.h. We could get it in Tarantool connector to make things easier ;)

I beg your pardon for offtop
Take a look at https://github.com/parihaaraka/pgpp
It contains db-agnostic dbpool.h. We could get it in Tarantool connector to make things easier ;)

Hm, good idea. I need more time to think about it.


Support stringsdict file for existing commands

Move/rename/sort should also work on the stringsdict file

Already done


[MODORDERS-626] Unopening and changing fund distribution

Purpose
MODORDERS-626 - Can't reopen an order after changing the expense class
Approach
Added a test matching the steps to reproduce the bug:

Create an order and an order line
Open the order
Unopen the order
Change the expense class
Open the order


Documentation recursion level not deep enough to see all modules

As I was adding a few docstrings here and there, I thought to take a look at my latest docs/_build to see how the they look in HTML.
Doing that I noticed that there are actually several directories in the aurora package that do not seem to be indexed by the documentation.  Specifically, under aurora/aurora/transfer_function, the *.py files are in the docs, but none of the sub-folders, such as regression are clickable.
I tried editing max_depth from 2 to 3 in docs/api/index.rst
.. toctree::
    :maxdepth: 3
    :caption: API documentation

and editting max_depth from 2 to 3 (and even 4) in docs/index.rst for referecen documenation
.. toctree::
   :maxdepth: 4
   :caption: Reference documentation

Alas, after calling make html had no change in the resultant webpage that I could see.

The issue also seems to be on the simpeg hosted website.
Tried modifying
doca/api/index.rst, both by increasing max_depth from 2 to 3 (or even 33), and did not get deeper doc into subfolders of transfer_function.  Also tried adding the line :recursive under toctree, but that did not solve the issue.
It looks like this post git it figured out

Thanks @kujaku11 for helping with this -- the docs now cover the whole repository.


Add semver_compare function

Rough draft of a new function to compare semantic versioning formatted labels.

This feels weird. How many other functions in PromQL perform semantic interpretation of label values? What makes semver  special enough to justify a top-level function? Where do you draw the line?

We have discussed this during our weekly bug scrub. Given that this has been sitting for years without a convincing conclusion of how to go ahead (and if at all), we'll close this. Should anyone feel strongly about pushing this feature forward, please comment and we'll re-open.


Add CUDA LLVM target arch flag to compile_to_vmfb

In order to get the best performance on CUDA, the CUDA LLVM target architecture must be specified in the IREE compiler. This commit adds support for specifying such a flag. In addition, it sets the flag to sm_80 in the TorchDynamo utils.py, since that target architecture is needed to use IREE's tensorcore.

Nit: it's not "IREE's tensorcore". The tensorcore refers to a piece of hardware in NVIDIA GPU's.

Ha! Sorry about that. I'll update the commit message


frontend: fix new network native currency display

Since we are positioned as an ETH rollup to rollup bridge for the beginning i implemented it using static code.
Could be improved by defining nativeCurrency for each chain in the config file but that requires a decent amount of work and also not needed atm.
Fixes #1109

Due to time constraints a quick solution was required.
Further improvement of this can be tracked here: https://github.com/beamer-bridge/beamer/issues/1121


orb.plot() doesnt work for 32bit computer due to unsupported numba parallel target

💡 Feature request
New user following the tutorial section. orb.plot() results in following error message
"UnsupportedParforsError: Failed in nopython mode pipeline (step: nopython mode backend)
The 'parallel' target is not currently supported on 32 bit hardware..."
Offer potential way to turn off parallel manually, or workaround suggestion for new users.

I think we can fix this issue by changing this line:
https://github.com/poliastro/poliastro/blob/041525f130d7f67585149dbd7cd4834cea893016/src/poliastro/core/elements.py#L188
To say
@jit(parallel=sys.maxsize > 2 ** 31)

Labeling this as a good first issue.

Can I give this one a shot? this issue has been out here for a while

Go ahead @airpods69 !

This was fixed in #1455!


FRQ: Link against chtc-bot's own tickets

I'm thinking

We should talk about bot#12

and maybe we could then easily extend the code to add another prefix for other GitHub projects of interest.

Maybe implement as a generic GitHubTicketLinker(repo = "JoshKarpel/chtc-bot", prefix = "bot") for said future-proofing?


[GOBBLIN-959] add missing junit dependency for gobblin-http

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-959

Description

[x] Here are some details about my PR, including screenshots (if applicable):
missing the junit dependency in gradle file

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason: compilation bugfix

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #2808 into master will decrease coverage by 0.96%.
The diff coverage is n/a.

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

This is surprising @jhsenjaliya
I ran it locally and it worked.
./gradlew :gobblin-module:gobblin-http:build -x findbugsMain -x rat -x checkstyleMain
./gradlew --version
Gradle 4.9

so it fails on my local, but not sure if my other gradle changes could affect this. nevermind, the fresh master build looks fine. will close this for now. Thanks for checking !


Fix compiler warnings (gcc: -Wsign-compare)

Fix two gcc compiler warnings: comparison of integer expressions of different signedness

@jeroendoggen Thanks for the contribution!


Clear data from the outside

Hello team!
First, thanks for a really nice application.
I'm wondering how I can clear a field from the an external controller function. My issue is that I have the autocomplete field inside a form, and when I submit the form, I clear all scope-variables that the form uses, but the autocomplete-field is still filled in with the previous value. I would like it to be cleared when I submit the form.
The field:

                                KATEGORI*

                            <input ion-autocomplete type="text"
                                   ng-model="selectedCategory"
                                   ng-required="true"
                                   autocomplete="off"
                                   ng-disabled="isUpdate"
                                   placeholder="VÄLJ..."
                                   cancel-label="GJORT"
                                   max-selected-items="1"
                                   item-view-value-key="name"
                                   items-clicked-method="categorySelected(callback)"
                                   template-url="views/shared/autocomplete-modal.html"
                                   class="value noBackground noBorders fullWidth ion-autocomplete"
                                   ng-class="'details-list-input-' + colorMode"
                                   items-removed-method="requiredFieldRemoved()"
                                   items-method="autocompleteCallbackMethod(query, $root.displayCategories, 'name')"/>

The items method:
    $scope.autocompleteCallbackMethod = function (query, data, fieldName, orderBy) {
        var filtered = [];
        data.forEach(function(item){
            if(item[fieldName] && item[fieldName].toLowerCase().indexOf(query.toLowerCase()) !== -1){
                filtered.push(item);
            }
        });
        return orderBy ? $filter('localeOrderBy')(filtered, orderBy, false) : filtered;
    };

After sending the form I do this: $scope.selectedCategory = null;
But the field is still filled out.

Hi @blueprint1985
thanks for the detailed issue description. Please have a look at the https://github.com/guylabs/ion-autocomplete#external-model documentation. There you can set an additional variable and then you can clear the component by assigning an empty array to the variable.
Regards,
Guy

@guylabs Thanks for your quick answer.
It worked fine on a couple of static fields that I have. But then I ran into another problem.
Consider the following

    <input ion-autocomplete type="text"
           ng-if="customField.type === 'List'"
           ng-model="customField.viewValue"
           ng-required="customField.required"
           autocomplete="off"
           placeholder="VÄLJ..."
           cancel-label="GJORT"
           max-selected-items="1"
           item-view-value-key="value"
           items-clicked-method="customFieldSelected(callback, customField)"
           item-value-key="id"
           template-url="views/shared/autocomplete-modal.html"
           class="value noBackground noBorders fullWidth ion-autocomplete"
           ng-class="'details-list-input-' + colorMode"
           items-method="autocompleteCallbackMethod(query, customField.values, 'value', 'value')"
           external-model="externalCustomFields[customField.name]"
           />

As you see, I use a repeat to print the fields. template.customFields may have several different fields in advance, and I don't know exactly how many or their name for each template. I many different templates. You can see that I added external-model="externalCustomFields[customField.name]" and in my controller on the submit method, I added $scope.externalCustomFields = [];. I also tried $scope.externalCustomFields = {};. Do you know what I need to do to clear those fields also upon form submission?
Best regards
Martin

Hi @blueprint1985
the values stored in the externalCustomFields[customField.name] are objects ({...}) right? I am not sure about the data binding of Angular with arrays and maybe you need to iterate through the array and then set each element to an empty array [].
Does that help?
Regards
Guy

Hi @blueprint1985
any news on this? I will close the issue due to inactiviti and you can reopen it again if there is something unclear.
Thanks and regards
Guy


Accept more flexible Content-Type strings

Accept Content-Type strings that aren't exact matches but start with the same format. This allows for options like 'charset' to be used in the Content-Type.
Fixes #10.

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   91.55%   91.55%
=======================================
  Files           3        3
  Lines         379      379
=======================================
  Hits          347      347
  Misses         32       32

Impacted Files
Coverage Δ

taxii2client/__init__.py
86.69% <100%> (ø)
:arrow_up:

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 405bbba...aed0c7f. Read the comment docs.

Note that this will still not allow the client to work with https://test.freetaxii.com:8000/api1/ because that server currently returns a content type with version=2.1 while the client is expecting version=2.0.


Removing last item from group does not remove header.

So I have a group with sub-items. When I remove the items it works fine with
notifySectionItemRemoved(section, item)
This removes the item, but if it's the last item, the header remains.
I have tried
notifySectionHeaderChanged(section);
and I have even tried using the initial RecyclerView adapter's
if (mGroupedList.get(section).postList.size() == 0) { notifyItemRemoved(section);}
Still no luck. Is there anything else I need to do to remove it?

Layout doesn't support header visibility control. Header will always be visible, even if section is empty. One of the ways to implement it, is to create custom adapter that removes empty sections or reinserts non empty, with full reload using notifyAllSectionsDataSetChanged().


Add type declaration for argument 3 in php_user_filter::filter()

BTW, I don't know if this change should be provided through LanguageLevelTypeAware, as I am not aware when this type was defined.
See: https://github.com/php/php-src/pull/12924#pullrequestreview-1777059768.

The type should be specified in the signature only if it is the same in the php-src. Unfortunately, I can't accept these changes.


[FLINK-21389] determine parquet schema from file instead of taking it from user

What is the purpose of the change
[FLINK-21389] determine parquet schema from file instead of taking it from user
Brief change log
deprecate ParquetInputFormat constructors that take schema as parameter and create a constructor without parquet schema as parameter. Determine the schema from the file in the constructor instead
Verifying this change
This change added tests and can be verified as follows:
Added ParquetInputFormatTest for low level tests.
This change can be tested by ParquetInputFormatTest#testReadWithoutParquetSchemaSpecified()
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes deprecation
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes (avoid user having to pass parque schema to parquet input format)
If yes, how is the feature documented? deprecation in javadocs

@HuangZhenQiu you already agreed for this change in the jira ticket. Still there is a question (in TODO in the code and in the ticket) why is this needed to read the parquet schema from split in open() ? Shouldn't it be the same schema than in the complete file ? Can't we use the already extracted schema in the constructor ?
@zentol as @HuangZhenQiu is not a committer, could you please take a look or point me to another committer ?

@flinkbot run azure

@zentol Hi, do you have time to review this or can you point me to another reviewer if not ?

maybe @JingsongLi could take a look; this is quite a bit out of my area of expertise

@Arvid Heise can you also take a look at this PR ?

Sure I have assigned myself, so I receive updates. But realistically, it will be next week ;).

@AHeise same comment as in https://github.com/apache/flink/pull/15156#issuecomment-847073898 ParquetInputFormat.java was removed

Same as in the other PR please rebase onto 1.13 and update the target branch accordingly.
A high-level question to get me faster up-to-speed:

In Avro, we have reader and writer schema. If schema evolves, the writer schema of each record updates and through schema compability, I still get the equivalent record in the reader schema automatically. So for Avro, I'd usually specify an additional schema to make sure that my application is forward and backward compatible.
Now it seems like Parquet (haven't checked the details yet), there is a similar concept. Having a particular reader schema is even more important as it allows us to skip reading large chunks of the file if a specific column is not needed thanks to the columnar layout of the file.
Is your change now effectively disabling the reader schema? Or can it just be omitted and assumed to be the writer schema?
How would it work when I read 2 parquet files with different schemas but both can be mapped to the same reader schema? For example, consider a schema evolution case, where 1 file is written by pipeline v1 and file 2 is written by pipeline v2 with an additional column that is ignored in the consuming Flink application.

rebased on release-1.13

Same as in the other PR please rebase onto 1.13 and update the target branch accordingly.
A high-level question to get me faster up-to-speed:

In Avro, we have reader and writer schema. If schema evolves, the writer schema of each record updates and through schema compability, I still get the equivalent record in the reader schema automatically. So for Avro, I'd usually specify an additional schema to make sure that my application is forward and backward compatible.
Now it seems like Parquet (haven't checked the details yet), there is a similar concept. Having a particular reader schema is even more important as it allows us to skip reading large chunks of the file if a specific column is not needed thanks to the columnar layout of the file.
Is your change now effectively disabling the reader schema? Or can it just be omitted and assumed to be the writer schema?
How would it work when I read 2 parquet files with different schemas but both can be mapped to the same reader schema? For example, consider a schema evolution case, where 1 file is written by pipeline v1 and file 2 is written by pipeline v2 with an additional column that is ignored in the consuming Flink application.

My PR actually solves a bug: ParquetInputFormat takes parquet schema as user input but after split it reads the parquet schema again here https://github.com/apache/flink/blob/52dcf439bb0b8d613fff1efecf015052d5b3a10b/flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/ParquetInputFormat.java#L170. So if a user provides a read schema then, he will be surprised that the actual schema used after split is different.
My PR touches only the reading part no change is done to the write schema.
Regarding avoiding read the file to determine the schema, extracting the schema from the file is actually already done in https://github.com/apache/flink/blob/52dcf439bb0b8d613fff1efecf015052d5b3a10b/flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/ParquetInputFormat.java#L170.
Why is this needed to read the parquet schema from Flink split in open() ? Can't we use the already extracted schema (extracted in the constructor) ?

@AHeise what do you think about the above comments?

Sorry I'll check in the beginning of next week.

Hi @echauchot ,
sorry for the delay, I was busy guiding some FLIPs.
I have checked the PR but it's like I pointed out before:

Your change is effectively removing reader schema. In the current state, you'd always receive reader=writer schema, which is not good in many cases.
We can and should make reader schema optional. All new constructors are here to stay and ease using it, if you want to read all columns.
Reading the writer schema currently happens in #open and it should stay like this. Quite often, the client which submits the application doesn't have access to the data it points to (think of GDPR compliance). So it's better to do it in #open, which is only called on task managers.
Since the writer schema is already read in #open, you could populate the fields fieldNames and fieldTypes there in case of no explicit reader schema.

Thanks for the precision about reader schema and writer schema. That makes sense to allow to read using a different schema that the one that was used when writing the file. But still, there is a thing I don't get: what is the point of providing a schema in ParquetInputFormat constructor, it is not the one that will be used at the actual reading time, it is the writer schema (the one extracted in #open) that will be used. Hence the fact that I qualified the ticket as a bug with current flink master state.
I agree IO operations should only happen en task managers as the job manager might not have access to data (network filtering or other) and for parallelization also I guess.
When no schema is provided,  of course, we can set the fields with values read in #open

But still, there is a thing I don't get: what is the point of providing a schema in ParquetInputFormat constructor, it is not the one that will be used at the actual reading time, it is the writer schema (the one extracted in #open) that will be used. Hence the fact that I qualified the ticket as a bug with current flink master state.

Have a look at ParquetTableSource and the used ParquetRowInputFormat. The idea is that the projection is pushed into the source. So if you have a SELECT a,b FROM parquet_file, you really just need to read a, b. In columnar formats, that translates to omitting a large chunk of data.
In the other formats, a user would need to supply the desired read schema manually. That is probably quite rare, but I'd keep it as it's just a small constructor each.

@AHeise I addressed your comments PTAL.

Addressed your comments and squashed. PTAL

@AHeise thanks a lot for reviewing and merging !

Thank you for contributing!


anhella plinko

Live Game URL: https://angelavale13.github.io/BaseGame/
Code Repository URL: https://github.com/angelavale13/BaseGame

Thank you for your submission! Unfortunately you were not selected as a winner. Here's some notes we had:
Your art changes were awesome! We loved the thematic change and appreciated the added score and subtraction mechanics. However, the winning submissions had a few more changes.
Thank you for participating and we hope you enjoyed the competition!


Linux support

After a *few* hours, I finally made it run on Linux under Wine. Haven't tested if it compiles, but I believe it does (and I also have no energy to test it further).
You have to make it executable before running it:
chmod +x ./PySilon.sh

Run it and follow the steps. It handles everything so there is no need to install anything else first.
Here is a video on how to configure it for the first time:
(you may want to add this video to the wiki as a tutorial on how to use it)
https://github.com/mategol/PySilon-malware/assets/52631245/2c3a86e1-8613-4c33-aa99-5627deb679e4
There are some extra commits because I synced the Python branch to my fork while I was working on it. Don't worry about those.
Re-did the pull request because I am dumb and didn't upload the last versions of the file.

I will check it out and merge if everything works :)

Forgot to mention, venv does not work on Wine so the installation of pip requirements is done normally. (you can see in the vid, when the script initializes the virtual environment, wine does not recognize the program)

I don't think that will be a problem for the people installing it on wine ngl, you don't use the same install to use python multiple times either way so that's ok

Also it built successfully for me after I had to screw with my config a bit

We're testing if the virus still works as expected and if so I will merge your PR :)


Is there a way to enable some debug logging while sending event batches?

When using eventhub.SendBatch method with an EventBatchIterator - is there a way to enable some sort of debug logging to let it report batch sizes it's sending, total messages sent and so on?
Thanks!

There isn't anything like this currently.
You can wrap the normal EventBatchIterator since it's really the interface that's used for the SendBatch() function and just log tracing or diagnostics.
	BatchIterator interface {
		Done() bool
		Next(messageID string, opts *BatchOptions) (*EventBatch, error)
	}

So implementing a wrapper function with two functions and then pass your wrapper, rather than EventBatchIterator, into SendBatch().
Closing but please reopen  if you have further questions.


Fix Travis CI setting

Changed log

Remove --dev option for composer install --prefer-dist --no-interaction command because it's deprecated:

You are using the deprecated option "--dev". It has no effect and will break in Composer 3.

Thank you 👍


change: 切换至 sqlalchemy2

SQLAlchemy 2.0 的类型标注这不完爆 SQLModel（

Codecov Report
Base: 84.34% // Head: 84.56% // Increases project coverage by +0.21% :tada:

Coverage data is based on head (8944305) compared to base (350719c).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   84.34%   84.56%   +0.21%
==========================================
  Files           7        7
  Lines         281      285       +4
==========================================
+ Hits          237      241       +4
  Misses         44       44

Impacted Files
Coverage Δ

...in_chatrecorder/migrations/2cad88d938f1_init_db.py
87.50% <100.00%> (-0.74%)
:arrow_down:

...lugin_chatrecorder/migrations/7228a3a08576_ob12.py
73.68% <100.00%> (+2.53%)
:arrow_up:

nonebot_plugin_chatrecorder/model.py
100.00% <100.00%> (ø)

nonebot_plugin_chatrecorder/record.py
96.92% <100.00%> (ø)

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

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


Updates to CoC

Replaces references of "Slack team" to "Slack workspace"
Removes reference to IRC channels
Replaces 'Mac' with 'Apple'
Generalizes references to other platforms

As always, open to feedback. This was just my first pass at attempting to update some wording to replace old references.

I think I covered this all in https://github.com/macadminsdotorg/codeofconduct/pull/20

Resolved conflicts.


Student icon

For My Esri, we need a .icon-ui-student icon. What is the best way to go about requesting one?

@tdolanwork I would create a graphics request through creative lab and let them know it's for the calcite web set.

I'm closing this, feel free to reopen when we have an icon to add, though.


Type error: cannot read length of undefined

Getting this error even in a codesandbox with latest react-query and react-query-devtools:
TypeError
Cannot read property 'length' of undefined

It works fine if I turn off react-query-devtools.
I've tried with the panel inside ReactQueryConfigProvider and outside and it makes no difference.
Example:
https://codesandbox.io/s/react-query-devtools-example-broken-vlzxv?file=/src/index.tsx

Looks like if you downgrade to react-query 2.6.0 this stops being a problem.

I have the same issue too, seems indeed related to the latest release of react-query (2.7.0)

Looks like if you downgrade to react-query 2.6.0 this stops being a problem.

I tried downgrading to 2.6.0 but I'm still getting this error, any ideas?

Looks like if you downgrade to react-query 2.6.0 this stops being a problem.

I tried downgrading to 2.6.0 but still getting this error, any ideas?

Look at the sandbox example above.  If you fork it and change to 2.6.0 it works, so maybe just use that as a template?

We need a fix for this ASAP.

Fixed in the latest version of devtools

@senadir I guess it is "react-query": "^3.0.1", which is not not tagged as latest

No, 3.0.1 was a mis-release. Please always use the latest tag to resolve.

I get the same error on 2.4.4.

I got the same error about getQueryOpacity() on 2.4.7.
TypeError: Cannot read property 'length' of undefined
getQueryOpacity
src/utils.js:23
  20 | }
  21 |
  22 | export function getQueryOpacity(query) {
> 23 |   return !query.observers.length ? 0.3 : 1
  24 | }
  25 |
  26 | export function getQueryStatusLabel(query) {

Oops I upgraded the version of react-query to the latest 2.15.4 then it works. Thank you anyway.


RC Test: Ratio and Proportion 1.0.0-rc.2

@terracoda, @emily-phet, @BLFiedler, @Matthew-Moore240, @jessegreenberg, @jbphet, @Ashton-Morris, ratio-and-proportion/1.0.0-rc.2 is ready for RC testing.
This second RC should be a full RC in my opinion, as there were many bugs that were found, much of which was in common code. Those issues are listed below.
In addition to those specific problems. . .

Please make sure to thoroughly test aria-live alerts on all platforms and all screen readers (that we support). We had to change this logic for this RC.
If there had to be a focus on this RC test, I would prefer most a11y testing to anything else. The visual sim has had a dev and rc test at this point, and only minimal issues have come from testing.

This is the first publication for this brand new simulation. Ratio and Proportion supports the following accessibility features:

Alternative input and keyboard navigation
Sound
Interactive Description
Mobile Accessibility
Pan and Zoom

Document issues in https://github.com/phetsims/ratio-and-proportion/issues and link to this
issue.
As always, thank you QA!
Assigning to @kathy-phet and @KatieWoe for prioritization.

General RC Test

What to Test

Click every single button.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.

If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Test all query parameters on all platforms. (See QA Book
for a list of query parameters.)
Download HTML on Chrome and iOS.
Make sure the iFrame version of the simulation is working as intended on all platforms.
Make sure the XHTML version of the simulation is working as intended on all platforms.
Complete the test matrix.
Don't forget to make sure the sim works with Legends of Learning.
Test the Game Up harness on at least one platform.
Check this LoL
spreadsheet and notify AR or AM if it not there.
When making an issue, check to see if it was in a previously published version
Try to include version numbers for browsers
If there is a console available, check for errors and include them in the Problem Description.
As an RC begins and ends, check the sim repo. If there is a maintenance issue, check it and notify developers if
there is a problem.
UPDATE: Please pay specific attention to hover highlighting behavior, both for mouse and (if applicable) touch.

Issues to Verify
Although this is the first RC, there are a couple of issues to be verified from previous testing.

[x] https://github.com/phetsims/ratio-and-proportion/issues/341
[x] https://github.com/phetsims/ratio-and-proportion/issues/342
[x] https://github.com/phetsims/ratio-and-proportion/issues/345, please note that QA should confirm fixed, but this is still out for a design review, so don't close.
[x] https://github.com/phetsims/ratio-and-proportion/issues/346
[x] QA Credits
[x] patch for phetsims/phet-android-app#155, please verify this sim works well in the PhET Android app.
[x] https://github.com/phetsims/ratio-and-proportion/issues/348
[x] https://github.com/phetsims/ratio-and-proportion/issues/321

These issues should have the "status:ready-for-qa" label. Check these issues off and close them if they are fixed.
Otherwise, post a comment in the issue saying that it wasn't fixed and link back to this issue. If the label is
"status:ready-for-review" or "status:fixed-pending-deploy" then assign back to the developer when done, even if fixed.

Link(s)

Simulation
iFrame
XHTML
Test Matrix
Legends of Learning Harness

Accessibility (a11y) RC Test

What to Test

Specific instructions can be found below.
Make sure the a11y feature doesn't negatively affect the sim in any way.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs.
Test all forms of input with a screen reader.
Test blended input using mouse/touch and keyboard.

Link(s)

a11y View
Simulation
Test Matrix

Screen Readers
This sim supports screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have
all of the information you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the
a11y view before opening the simulation. Once you've done that, open the simulation and make sure alerts and
descriptions work as intended.

Platforms and Screen Readers to Be Tested

[x] Windows 10 + Latest Chrome + Latest JAWS
[x] Windows 10 + Latest Firefox + Latest NVDA
[x] macOS + Safari + VoiceOver
[x] iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
this Google Document. If you find a
screen reader bug, please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel controls. Please test magnfication and make sure
it is working as intended and well with the use cases of the simulation. Due to the way screen readers handle user input, magnification is NOT expected to
work while using a screen reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Does Ratio and Proportion need screenshots?

Yes it does.

QA is done

Thanks, we are ready for the next RC/Spot check


no n64 memory pak functionality with esp32s

the blueretro for the n64 works for rumble and regular gameplay but the memory pak functionality seems to be broken. it is a hiletgo model from amazon. i've got a few 32e boards coming in from digi-key.
the error is:
Argh! RangeError: offset is out of bounds! on read or write of the mpk.
i have tried with v1.4 and v1.5 n64.
while this is probably an issue with the type of board i bought (32s), i just figured i'd open an issue.

ok, i missed the instructions about wiring the io26/27 to 3.3v. did that and it works. closing the issue!

Thanks for taking time to report what fixed it!
Enjoy!!


Mismatch between published version and tagged version

Gradle released version 7.3. It can be downloaded from https://downloads.gradle-dn.com/distributions/gradle-7.3-all.zip
However the Git tag is 7.3.0 - https://github.com/gradle/gradle/releases/tag/v7.3.0
Trying to download with https://downloads.gradle-dn.com/distributions/gradle-7.3.0-all.zip does not work.
Would it be possible to use the same version name again?
This started happening with Gradle 7.0

This is a historical difference, nothing has changed.
https://github.com/gradle/gradle/releases/tag/v6.8.0 and its download URL have the same issue.
There is no plan on fixing that though.
https://services.gradle.org/distributions/ is the source for locating the different distributions.


bug(build): run-components-test script can't be used for schematics

Reproduction
Steps to reproduce:
yarn test core/schematics or  yarn test material/schematics
Expected Behavior
Schematics tests should be run
Actual Behavior
Could not find test target for specified component: core/schematics. Looked in packages: material, cdk, material-experimental, cdk-experimental
Environment

Angular: 9.1.0
CDK/Material: 9.2.1
Browser(s): -
Operating System (e.g. Windows, macOS, Ubuntu): any

I don't know if it's actually a bug or an intended behavior


feat(react-i18n): export tFunction from utils

react-i18n
Export tFunction from utils, in order to use outside react context.

Pull Request Test Coverage Report for Build 148

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.798%

Totals

Change from base Build 111:
0.0%

Covered Lines:
99

Relevant Lines:
103

💛  - Coveralls


[BUG] Adding proper answer to "What is DevsInTech Community?" [GSSoC'23]

Is there any existing issue for this?

[X] I have searched the existing issues

Description
The homepage of the website has a section of What is DevsInTech Community?  But answer is "Lorem ipsum". I can  create a proper answer for that.
Screenshots
screenshot:

Any additional information?
Please assign me this issue under GSSoC'23
What browser are you seeing the problem on?
Chrome

Please assign me this issue under GSSoC'23

Which content will you add ?

@AbhiPatel10 I think I understand the mission the DevsInTech website, I can add my own answer or if you wish, you can let me know which answer to add.

Please assign me the issue, You can check and not accept the PR if you think the content is not good enough

Okay Go ahead

Thank you @AbhiPatel10 . I will surely not disappoint you.

@AbhiPatel10 I think I have written a good and short answer. Can you please check it out.


[RFE] extend instance.dns_search_internal db column from 256 to something bigger

Was hitting a limit adding an instance that had a few search domains added. They just surpassed the 256 limit as rancher adds its own internal domains as well.
org.jooq.exception.DataAccessException: SQL [update `instance` set `instance`.`data` = ?, `instance`.`dns_internal` = ?, `instance`.`dns_search_internal` = ? where `instance`.`id` = ?];  (conn:236319) Data too long for column 'dns_search_internal' at row 1

Tested with rancher-server v1.6.8-rc1.
Able to create services by providing multiple search domains whose length adds up to > 256.
In database , instance table has length of 1024 for ns_search_internal  field.
| dns_search_internal     | varchar(1024) | YES  |     | NULL    |

When we upgraded an internal environment that has a large number of rows in the instance table (1 million-ish), we discovered the fix for this (which is to update a column in that table) took way too long.
So, we are going to rollback this fix until we fix the underlying issue of the instance table not getting cleaned up properly. The fix for that is targeted for Septmember. I did a preliminary investigation and found that it is not the known issue of host-bind-mounts causing the problem (TODO reference issue).
Reopening this issue.

We should also consider changing the field size to the value bigger than 1024 as that might not be enough. Per @vincent99 65535 doesn't cost any more space than 1024 (for a field that isn't going to be indexed)

We need to call this ticket out in the release notes. The table migration creates a temp table and can potentially consume lots of disk space, basically ensure you have lots of space. Also the fact it can take a while to carry out the operation.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Pdo

I create a new class that extend Ice\Db\Driver\Pdo, but I got follow error :
Call to private method Ice\Db\Driver\Pdo::where() from context 'App\Libraries\DBDriver'
I 'd better change where method to protected.any idea?

Fixed in latest commit on dev branch (it'll be in 1.1.4 release).


"tests/pass/panic/catch_panic.rs" test diverses with -O

To reproduce, run ./miri run tests/pass/panic/catch_panic.rs -O. This prints
thread 'main' panicked at tests/pass/panic/catch_panic.rs:51:27:
Hello from std::panic
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Caught panic message (&str): Hello from std::panic
thread 'main' panicked at tests/pass/panic/catch_panic.rs:52:26:
Hello from std::panic: 1
Caught panic message (String): Hello from std::panic: 1
thread 'main' panicked at tests/pass/panic/catch_panic.rs:54:9:
Hello from std::panic_any: 2
Caught panic message (String): Hello from std::panic_any: 2
thread 'main' panicked at tests/pass/panic/catch_panic.rs:56:27:
Box<dyn Any>
Failed to get caught panic message.
thread 'main' panicked at tests/pass/panic/catch_panic.rs:59:27:
Hello from core::panic
Caught panic message (&str): Hello from core::panic
thread 'main' panicked at tests/pass/panic/catch_panic.rs:60:26:
Hello from core::panic: 5
Caught panic message (String): Hello from core::panic: 5
thread 'main' panicked at tests/pass/panic/catch_panic.rs:64:20:
index out of bounds: the len is 3 but the index is 4
Caught panic message (String): index out of bounds: the len is 3 but the index is 4
thread 'main' panicked at tests/pass/panic/catch_panic.rs:68:20:
attempt to divide by zero
Caught panic message (&str): attempt to divide by zero
thread 'main' panicked at /home/r/.rustup/toolchains/miri/lib/rustlib/src/rust/library/core/src/ptr/const_ptr.rs:1360:13:
align_offset: align is not a power-of-two
Caught panic message (&str): align_offset: align is not a power-of-two
thread 'main' panicked at tests/pass/panic/catch_panic.rs:79:9:
assertion failed: false
Caught panic message (&str): assertion failed: false

and then just stops... not sure what is happening.

-Zreport-progress says this are here
note: tracking was triggered
  --> tests/pass/panic/catch_panic.rs:84:9
   |
84 |         loop {}
   |         ^^^^^^^ progress report: current operation being executed is here
   |
   = note: so far, 17000000 basic blocks have been executed
   = note: BACKTRACE:
   = note: inside closure at tests/pass/panic/catch_panic.rs:84:9: 84:16
note: inside `do_panic_counter::<{closure@tests/pass/panic/catch_panic.rs:82:16: 82:26}>`
  --> tests/pass/panic/catch_panic.rs:40:5
   |
40 |     do_panic(old_val);
   |     ^^^^^^^^^^^^^^^^^
note: inside closure
  --> tests/pass/panic/catch_panic.rs:98:9
   |
98 |         do_panic_counter(do_panic)
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^

Hm... looks like this has nothing to do with optimizations and is simply a consequence of the test requiring debug assertions.


Looking for a maintainer

Hi! I hope you are all doing well!
I no longer use Neovim regularly, but I really would like to keep this plugin alive. It's been really simple to maintain, but I worry about the long-term.
So I'm looking for someone willing to step in and maintain this plugin. Either

Someone who is willing to fork and create the new official project or
Someone who wants to co-maintain the project

I think the second is the simplest, and no one has to update their configs to point to a new repository.
If no one steps up, I will try my best to make sure this works for as long as possible. But I won't make any promises. If a future Neovim release would cause an unreasonable amount of work for me to update this plugin, I probably wouldn't update it.
Sorry if that's sad news for anyone, and I apologize if this breaks someone's workflow someday. I don't think this plugin will stop working anytime soon, but if it does... 😬
Probably the biggest risk in this breaking is a breaking change to Telescope.

Hey, hope you're doing well too!
I really love the work you've done with zf, I've been following the project for a while now and would like to help keep this integration to telescope functional. What would need to be done when maintaining the plugin? I don't know if there is something besides updating the zf libraries every time a new version is available if required, keeping the plugin functional and addressing issues/PRs :p

Hi @NTBBloodbath thanks for being willing!
This really wouldn't be that much work. I'm willing to update the libraries whenever I update zf (really simple, just run the justfile and do a quick test in nvim). I worry more about nvim/telescope compatibility.
I imagine that I would just give you contributor access to this repo and then both of us could maintain it. It would just give me some peace-of-mind that a neovim user has access to fix things, address issues/PRs.
So if you are still willing, let me know and I'll add you as a contributor!

Thanks! I just added you as a collaborator. Thanks again for being willing to help! It takes some pressure off me :)

Glad to help maintaining this amazing integration :p
I'm going to accept the invitation as soon as GitHub starts working properly again (seems like there are a lot of issues right now, you can check out GitHub status site)!

Yeah I noticed it was down and snuck in between some downtime to comment. Hope they get it figured out soon!

It seems like everything is working again, already accepted the invitation! :p


Example Eddystone frame inconsistent with protocol specification

The Common Elements section of the Eddystone Protocol Specification states that every Eddystone frame type must contain the List of 16 bit Service Solicitation UUIDs (0x14) data type including the Eddystone Service UUID.
The example frame shown below this statement contains the Complete list of 16-bit Service UUIDs (0x03) data type instead. By not including the Service Solicitation UUIDs it is not following the specification.
Or am I missing something?

Yes, thanks for pointing that out. We partially resolved this confusion in issue #8, but forgot the top part it looks like. I've now cleared that up.


always wait for e2e tests to finish to get the error report

Please, no.

LGTM - what is the reason for this change (just for my own knowledge)?

Funny, this just got a version of that weird create rbac error I had earlier today.  LIke the generated file has bad data... but it is in reality there and fine.

@mikeln I can confirm i have seen random instances of this while working with comcast. Happens in rbac and in general steps after apiserver readiness completes.

closing this.  going to make e2e not a blocking gate for PRs.


test: fix monmap name check

Closes: #421 and #420
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

@alfredodeza

test this please

We don't have CI hooked up to call these tests. Merging as it looks OK to me

Thanks!


Finetuning SAM for customized segmentation

I'm seeking a method to fine-tune SAM for generating custom segments. Below, you'll find two segmented images of a chair. I've employed a specific logic for segmentation (where each color represents a segment).
Segmented Image 1:

Segmented Image 2:

I went through a lot of SAM fine-tuning procedures, but all of them use binary or multiclass masks. When it comes to fine-tuning for segmentation, there is no straightforward method for defining labels for the masks. This is because it's possible that the ground truth contains 5 masks while the predicted output contains 10 masks. Consequently, it becomes challenging to compare them and optimize the process.
My segmentation approach involves the transformation of a 3D chair into a 2D representation. Each segmented part can be isolated and then unwrapped into a 2D format. I am segmenting the 3D chair in a manner that allows each segmented part to be presented as a 2D representation.

@Mohit0928 We've actually built out a platform that finetunes a research variant of SAM for labeling purposes at InstaLabel. All you need to do is upload your dataset, select and label a few samples you'd like to finetune the model on in our platform, and hit the 'Train annotator' button. You can then head over to the 'Annotate' tab, click 'Instant Annotation' and have the finetuned model label the rest of your dataset for you. Should be useful for a lot of custom 2D computer vision labeling use cases. Hope this helps!

Did you find the solution?


Add shake animation to the view extension

You can use this method to shake a view -- say a textfield if its validation fails.

Nice man thanks :+1:


[BUG] Prometheus Federator fails to install (only 2.3RC)

Rancher Server Setup

local Rancher HA
3 nodes - all roles
RKE- v1.24.10
Rancher version 2.6-head
monitoring chart version - 100.2.0+up40.1.2
prom fed chart version- 0.2.1+up0.2.3

Describe the bug
NOTE: this only impacts prom federator 0.2.1+up0.2.3
prerequisite - monitoring is installed
when the user attempts to install Prometheus federator the install times out and app is never installed.
To Reproduce

install monitoring
attempt to install prometheus federator

Result
the chart times out and fails to install
Expected Result
prom federator installs
Screenshots
install log
helm install --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-prometheus-federator-0.2.1-up0.2.3.yaml --version=0.2.1+up0.2.3 --wait=true prometheus-federator /home/shell/helm/prometheus-federator-0.2.1-up0.2.3.tgz
W0505 18:40:41.782717      24 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ creating 13 resource(s)
W0505 18:40:41.862827      24 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ beginning wait for 13 resources with timeout of 10m0s
Deployment is not ready: cattle-monitoring-system/prometheus-federator. 0 out of 1 expected pods are ready
Deployment is not ready: cattle-monitoring-system/prometheus-federator. 0 out of 1 expected pods are ready
repeats not read several times
Error: INSTALLATION FAILED: timed out waiting for the condition
here are the recent events

when speaking with Geet about this bug, she inferred it may be the versioning. here is the YAML from prom federator

apiVersion: catalog.cattle.io/v1
fieldsType: FieldsV1
fieldsV1:
f:status:
.: {}
f:observedGeneration: {}
f:summary:
.: {}
f:error: {}
f:state: {}
manager: rancher
operation: Update
subresource: status
time: '2023-05-05T18:50:42Z'
name: prometheus-federator
namespace: cattle-monitoring-system
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: false
controller: true
kind: Secret
name: sh.helm.release.v1.prometheus-federator.v1
uid: bb7435a2-d1d7-43f5-944c-2c8342dda048
resourceVersion: '11508'
uid: fae46805-dbf6-40cd-bfab-cde871da7b46
spec:
chart:
metadata:
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Prometheus Federator
catalog.cattle.io/kube-version: '>=1.16.0-0'
catalog.cattle.io/namespace: cattle-monitoring-system
catalog.cattle.io/os: linux,windows
catalog.cattle.io/permits-os: linux,windows
catalog.cattle.io/provides-gvr: helm.cattle.io.projecthelmchart/v1alpha1
catalog.cattle.io/rancher-version: '>= 2.6.5-0 < 2.8.0-0'
catalog.cattle.io/release-name: prometheus-federator
catalog.cattle.io/ui-source-repo: rancher-charts
catalog.cattle.io/ui-source-repo-type: cluster
apiVersion: v2
appVersion: 0.2.2
description: Prometheus Federator
icon: >-
https://raw.githubusercontent.com/rancher/prometheus-federator/main/assets/logos/prometheus-federator.svg
name: prometheus-federator
version: 0.2.1+up0.2.3
values:
global:
cattle:
clusterId: ''
projectLabel: field.cattle.io/projectId
psp:
enabled: true
systemDefaultRegistry: ''
systemProjectId: ''
url: ''
imagePullSecrets: null
rbac:
pspAnnotations: {}
pspEnabled: true
helmProjectOperator:
additionalArgs: null
cleanup:
containerSecurityContext: {}
image:
pullPolicy: IfNotPresent
repository: rancher/shell
tag: v0.1.19
nodeSelector: {}
resources: {}
securityContext:
runAsNonRoot: false
runAsUser: 0
tolerations: null
containerSecurityContext: {}
debug: false
debugLevel: 0
enabled: true
global:
cattle:
clusterId: local
clusterName: local
projectLabel: field.cattle.io/projectId
psp:
enabled: true
rkePathPrefix: ''
rkeWindowsPathPrefix: ''
systemDefaultRegistry: ''
systemProjectId: p-522fv
url: https://hoffman119.qa.rancher.space
imagePullSecrets: null
rbac:
create: true
pspAnnotations: {}
pspEnabled: true
userRoles:
aggregateToDefaultRoles: true
create: true
systemDefaultRegistry: ''
hardenedNamespaces:
configuration:
networkPolicySpec:
egress: null
ingress: null
podSelector: {}
policyTypes:
- Ingress
- Egress
serviceAccountSpec:
automountServiceAccountToken: false
imagePullSecrets: null
secrets: null
enabled: true
helmApiVersion: monitoring.cattle.io/v1alpha1
helmController:
enabled: true
job:
image:
repository: rancher/klipper-helm
tag: v0.7.0-build20220315
helmLocker:
enabled: true
image:
pullPolicy: IfNotPresent
repository: rancher/prometheus-federator
tag: v0.2.2
nameOverride: prometheus-federator
namespaceOverride: ''
nodeSelector: {}
otherSystemProjectLabelValues: null
projectReleaseNamespaces:
enabled: true
labelValue: ''
releaseRoleBindings:
aggregate: true
clusterRoleRefs:
admin: admin
edit: edit
view: view
resources: {}
securityContext: {}
systemNamespacesConfigMap:
create: true
rbac:
enabled: true
subjects:
- kind: Group
name: system:authenticated
tolerations: null
valuesOverride:
federate:
targets:
- rancher-monitoring-prometheus.cattle-monitoring-system.svc:9090
helmVersion: 3

Additional context
when informing Geet she figured it may be a versioning issue. I found this discrepancy, may be worth investigating

This was an issue with the versioning in rancher/prometheus-federator. I have pushed all the changes for the upcoming rancher release to v 2.1.0+up0.3.0.

retest passed. was able to install the chart
cluster information-
test on local
rancher image- 2.6.12
monitoring chart version- 100.2.0+up40.1.2
prometheus federator version- 0.3.1
chart repo used - https://github.com/rancher/prometheus-federator


Add auto-suggestion to arguments/Command-Palette

Description of the new feature/enhancement
Provide auto-suggestion to users as they type out wt commands. Preferably both in the terminal as well as the Command-Palette (this includes the regular Command-Palette commands in addition to the wt commands). This makes it easier for users to start using the wt command arguments and also speeds up the process for users to execute an action within Windows Terminal.

Proposed technical implementation details (optional)
Convert the examples to C++ from https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.autosuggestbox?view=winrt-19041

Tagging @zadjii-msft as he's responsible for adding both features.

[@]zadjii-msft is currently on leave and probably shouldn't be tagged into issues unless his presence is required.
I get the feeling that we've had the discussion about shell inline suggestions on this repository before, but perhaps the one about the command palette is novel.

In the case of an AutoSuggestBox itself, it looks like it would be perfect for the Command Palette. Getting inline suggestions into the terminal itself would also be great but looks like that would require something different (the other autosuggest docs aren't as helpful as I thought they might be).


installing and upgrading python3

Hello,
I have had some very strange issues happen with python, but cannot determine what I possibly could have done to arrive here (or how you would replicate the issue).  There are two distinct problems, one is about upgrading, and one is about installing anew.

Autoupdating python is incomplete, and causes trauma.  I use brew python and pip as encouraged -- I pip3 install most things, which will install to e.g. /usr/local/lib/python-3.6.  The problem is that without me really even realizing it, my python got upgraded by brew automatically from 3.6.4 to 3.6.5.  Most of my local development was broken, and I believe the issue here is that things I installed with pip3 when using 3.6.4 are not guaranteed to work with 3.6.5.
To be clear, I really don't know if that is true.  However, I simply deleted everything under /usr/local/lib/python-3.6 and then reinstalled everything I wanted with pip3 (from python 3.6.5) and things worked again.
If this is indeed a problem, I see two possible solutions that would be relatively easy to implement:

Do not automatically update python installations.  This is my preference.

I know I can tell brew not to update globally, is there a way for me to say blacklist just python (I like the auto update in general!).

Delete /usr/local/lib/python3.6/.  This sounds really dangerous to do automatically.

Since the 3.6.5 update (maybe a week or two ago for me), I've force uninstalled things and restarted twice now.  Everything works and life is good, and then one day out of the blue I cannot run the brew installed python 3.6.5, with "PyInitialize unable to load the file system codec".
I do not understand why things work for a while, and then mysteriously (with or without reboots in between), the system codec issue appears.  A full reinstallation will solve it, and then it will break again.
This is far beyond my understanding of Python, but I couldn't help but notice that the poured bottle was compiled with a different XCode toolchain than mine.  It would report GCC 4.2.1 Compatible Apple LLVM 9.0.0 (or some other number, but 9.x being the key here), whereas I deliberately have (and will need to keep) XCode 8.x toolchain for the foreseeable future.
Would that somehow cause this system codec issue?  I just went through and --build-from-source installed, so Python now reports GCC 4.2.1 Compatible Apple LLVM 8.0.0.

I thought I would report the issue, but other than brew doctor reporting an outdated XCode, everything else is working great.  I've never encountered such strange problems in all the years i've been using brew, so can't help but wonder if it is something I did locally somehow.
In short, I don't know how you would reproduce this issue, but thought I would at least include my needed steps to fix it for myself, and identify two potential causes that I am unsure of.
Thank you for reading, if you feel the issue is inappropriate feel free to close without response.

From the issue template:

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you do not read fill out the issue template repeatedly you will be blocked from ever submitting issues to Homebrew again.

If you add the necessary information to this issue ((don't create a new one, please) then this issue may be reopened.

Hi @MikeMcQuaid,
I originally started writing it at homebrew-core and while reading that issue template decided it very much did not fit there.  That issue template links to here:

have a problem with brew install (or upgrade, reinstall) a single, official formula (not cask)? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.

Link I followed (bypasses chooser, so no issue template): https://github.com/Homebrew/brew/issues/new
Maybe that should update to this: https://github.com/Homebrew/brew/issues/new/choose

I have read the templates for this repo now, I will need to reach out to the discourse as the most important step (how to reproduce it) is something I cannot figure out how to do.  It seems haphazard at best :/

Thanks! I'll update those links.


[Proposal - review only] Support registering MessageConverter beans directly

Fixes #505

introduces the TargetTypeMessageConverter extension to MessageConverter
for converters that advertise target MimeTypes and/or target classes
beans of the type TargetTypeMessageConverter are used to register bound channel converters

Note: if accepted, will add documentation

Pushed a few more changes, with interface modifications.

Deferring this to post-1.0 (1.1.0.M1) as the overall set of resulting changes is too big for a RC->GA transition.


Suggestion: AL Symbol Menu

Indeed Intellisense is a great feature, not in the least its context sensitivity. However, it's often still an overload of terms in the drop down list that's not logically (except for alphabetically) ordered.
The C/AL Symbol Menu does present the various methods and fields in a categorized way, so that you have an overview of related things.
So the suggestions is to provide, next to Intellisense a categorized display of terms (functions, keywords, fields and properties) to make the developers works much easier.
Note that with properties in the Intellisense drop down there's even a vaster amount of terms shown.

This is to a large degree controlled by VS Code. The compiler provides a list of symbols fitting the given context and we can only control the icon of the symbol, sort order, display text and the actual insertion text.
We will see what we can do to provide more information in line with your suggestion.

I agree with @lvanvugt,
when developing with Object Designer in the traditional way, developers know the context in which we are at all times making our changes and we have all the possibilities in sight and within our reach ... with the new paradigm of programming in Visual Studio Code, this has been completely lost ...
Would not it have been more logical to improve the Object Designer so that all customizations could continue to be done in a similar way but stored in the DB separately?
The only thing that should be done is to protect the standard code so as not to allow it to be modified but to continue being able to read everything it does to know where to fit our code using the subscriptions to events ...
Once this is achieved, the next thing is that you could export the DIFF of the modified objects directly and automatically in AL format in order to have the changes in a repository version ...

Hi, Please go ahead and post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.


Container going for restart loop with latest qemu version

Brief description
We updated the qemu version to 4.4.16 - 1:4.2-3ubuntu6.28 and see that the container is going for restart loop.
qemu has recently released a new version to fix the CVE-2023-2861 vulnerability.
The error seen is 9p: broken or compromised client detected; attempt to open special file (i.e. neither regular file, nor directory).
Steps to reproduce the issue

Create container with runq. It will go for restart loop.

Expected behaviour
Container should be stable and not restart.
Actual behaviour
Container in restart loop
Content of section runtimes of /etc/docker/daemon.json
{
    "data-root": "/var/lib/quotagroups/lv_data_pool/appliance_data/docker",
    "log-driver": "json-file",
    "log-opts": {
        "max-size": "10m",
        "max-file": "3"
    },
    "group": "uwsgi",
    "hosts": [
        "unix:///var/run/docker.sock"
    ],
    "dns": [
        "<IP_ADDRESS>",
        "<IP_ADDRESS>"
    ],
    "runtimes": {
        "runq": {
            "path": "/var/lib/runq/runq",
            "runtimeArgs": [
                "--cpu",
                "1",
                "--mem",
                "512",
                "--dns",
                "<IP_ADDRESS>,<IP_ADDRESS>"
            ]
        }
    },
    "bip": "<IP_ADDRESS>/16",
    "default-runtime": "runq",
    "seccomp-profile": "/etc/docker/default.json"

Content of /var/lib/runq/qemu/proxy --version
d60f677 (go1.21.5)
Content of docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~20.04.1
Additional information

Newer versions of Qemu prevent the use of "special files" such as sockets or device nodes on 9pFS.
<EMAIL_ADDRESS>The new behavior may cause problems for containers that rely on "special files," such as "Docker in Docker". A possible solution is to use a root disk instead of 9pFS. I have adapted the examples under 'test/examples' accordingly.
Please let me know if this helps.

Seeing a different error while using ROOTFS - [proxy d60f677] rootdisk "0001" not found.

No. (sorry for the delay)


Bulk delete older findings via API

It would be nice if one were able to perform bulk deletions of findings through the API.  For example, say I want to delete all findings whose publish_date is more than a year ago.  I'd currently have to query for all findings, then inspect each finding's publish_date, compare to X, then delete each older finding individually.
If there is currently a more efficient way to do what I'm describing please let me know.

@mtesauro The ability to bulk-delete findings with a date range criteria would be very useful for my project.  I could try to do a PR that adds that capability, if you're open to it.

@scott86 I had a conversation with the majority of the maintainers on this because we're trying to keep changes to a minimum while we work on DefectDojo 3.0 (details on that here).
Generally the idea makes sense and I've added the 'consider for 3.0' label so it doesn't get forgotten.
Thanks for the offer to do the PR - when we get closer to 3.0, you may just get a tap on the shoulder. :wink:


[Question] How do I debug if msbuild build some of my projects twice during build?

I have solution where some projects have two target frameworks: net46 and netcoreapp1.1. But even if I build solution using dotnet build -f netcoreapp1.1 some of projects are being built twice according to log.
How do I debug this situation?

This is . . . nontrivial. When faced with similar problems, I put together https://github.com/rainersigwald/ParallelBuildDebuggingLogger, but I haven't yet written any kind of useful documentation about it, so using it is a bit difficult!
What makes you ask the question? Curiosity, or is something going wrong? How did you notice that the projects are being built twice? Depending on what you're seeing, it might just be the ProjectReference protocol ensuring that the right output is passed back to a referencing project.

@rainersigwald dotnet build output suggest it.
Running generators in netcore framework mode. is output from our custom msbuild task.

@aensidhe How is your custom target hooked into the build?

We have a nuget package included in project via usual PackageReference with *.targets file in it. nuget restore places import directive into obj\*.csproj.nuget.g.targets:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
  </PropertyGroup>
  <ImportGroup Condition=" '$(TargetFramework)' == 'net46' AND '$(ExcludeRestorePackageImports)' != 'true' ">
    <Import Project="$(NuGetPackageRoot)package.name\1.1.977-fixt4pdbisnotcrosspl\build\package.name.targets" Condition="Exists('$(NuGetPackageRoot)package.name\1.1.977-fixt4pdbisnotcrosspl\build\package.name.targets')" />
  </ImportGroup>
  <ImportGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.1' AND '$(ExcludeRestorePackageImports)' != 'true' ">
    <Import Project="$(NuGetPackageRoot)package.name\1.1.977-fixt4pdbisnotcrosspl\build\package.name.targets" Condition="Exists('$(NuGetPackageRoot)package.name\1.1.977-fixt4pdbisnotcrosspl\build\package.name.targets')" />
  </ImportGroup>
</Project>


Have some rules!

Provide a (currently empty) rules file, where we can have rules.
Rules could be used as a guideline for evaluating a change proposal, as not to require having the same discussions about changes over and over again. Instead, one can now simply refer to the rules and say: that's not allowed according to our rules.
Of course anybody could propose to change the rules.
I propose that when PRs change this new RULES.md file, they can change nothing else in the repository, and the PRs should pre prefixed with [RULES] for clarity.
So I will make a separate PR for that.

I think a rules file should be added once someone has a pull request with the first rule to be added instead of a file with no rules (or a rule stating there are no rules).

@xyproto thats in #143


Add Stellar module

This module should supports

[x] Importing wallet
[x] Getting a wallet
[x] Listing wallets
[x] Checking existence
[x] Deleting wallet
[x] Getting balance for an imported wallet
[x] Getting balance for a wallet with its address
[x] Transfering

Stellar module docs


add considering_the_environment

add section 4.9 considering the environment

@rsinghal757 Please look into this.

Still not resolved @kanishk27DH

$$
\mathop{\mathrm{minimize}}_w \frac{1}{n} \sum_{i=1}^n l(x_i, y_i, f(x_i)) + \mathrm{some~penalty}(w)
$$

@kanishk27DH This doesn't work, i mean put this in markdow?
Why use a code block?

ok sir I will put it in markdown but the \mathop thing is not working so I have to remove it

Try this once! If it still has rendering issues..we'll use this approach.

@AnirudhDagar I have to drop \mathop as it is not working